aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableData.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-01 11:04:01 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-01 11:04:01 +0000
commit7587849d307c6c0a7fa11ddbc2ee48af87ab9087 (patch)
tree3ae2092799de52002d553baa463a0c04878439f1 /Source/SPTableData.h
parenta6325dbb88629e7bc5e170bb23955ebf1910c17b (diff)
downloadsequelpro-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/SPTableData.h')
-rw-r--r--Source/SPTableData.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPTableData.h b/Source/SPTableData.h
index b978acc4..cb24d51f 100644
--- a/Source/SPTableData.h
+++ b/Source/SPTableData.h
@@ -42,9 +42,12 @@
MCPConnection *mySQLConnection;
BOOL isWorking;
+ BOOL tableHasAutoIncrementField;
+
}
@property (readwrite, assign) BOOL isWorking;
+@property (readonly, assign) BOOL tableHasAutoIncrementField;
- (void) setConnection:(MCPConnection *)theConnection;
- (NSString *) tableEncoding;