diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-01 11:04:01 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-01 11:04:01 +0000 |
commit | 7587849d307c6c0a7fa11ddbc2ee48af87ab9087 (patch) | |
tree | 3ae2092799de52002d553baa463a0c04878439f1 /Source/SPTableStructure.h | |
parent | a6325dbb88629e7bc5e170bb23955ebf1910c17b (diff) | |
download | sequelpro-7587849d307c6c0a7fa11ddbc2ee48af87ab9087.tar.gz sequelpro-7587849d307c6c0a7fa11ddbc2ee48af87ab9087.tar.bz2 sequelpro-7587849d307c6c0a7fa11ddbc2ee48af87ab9087.zip |
• improved Structure editing logic to allow to choose auto_increment for Extra only if table has no auto_increment field set since MySQL allows only one auto column
- the user has still the chance to type 'auto_increment' into the Extra manually
Diffstat (limited to 'Source/SPTableStructure.h')
-rw-r--r-- | Source/SPTableStructure.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPTableStructure.h b/Source/SPTableStructure.h index 1ae392f4..fe13b944 100644 --- a/Source/SPTableStructure.h +++ b/Source/SPTableStructure.h @@ -58,7 +58,7 @@ IBOutlet id viewColumnsMenu; IBOutlet id encodingPopupCell; - + MCPConnection *mySQLConnection; MCPResult *tableSourceResult; MCPResult *indexResult; @@ -73,6 +73,8 @@ NSUserDefaults *prefs; NSArray *collations; NSArray *typeSuggestions; + NSArray *extraFieldSuggestions; + BOOL isCurrentExtraAutoIncrement; BOOL isEditingRow, isEditingNewRow, isSavingRow, alertSheetOpened; } |