diff options
author | stuconnolly <stuart02@gmail.com> | 2011-07-10 12:44:15 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2011-07-10 12:44:15 +0000 |
commit | 59527d9acd227a9a924fbd66ed29b85ea8b65a02 (patch) | |
tree | dca62602c88706a4d64ba6d1720a744cb269dd9c /Source/SPExportController.m | |
parent | 4b071f5866460dbff1bce10a297f3b017dfea26b (diff) | |
download | sequelpro-59527d9acd227a9a924fbd66ed29b85ea8b65a02.tar.gz sequelpro-59527d9acd227a9a924fbd66ed29b85ea8b65a02.tar.bz2 sequelpro-59527d9acd227a9a924fbd66ed29b85ea8b65a02.zip |
Add the option to the SQL export view as to whether or not the AUTO_INCREMENT value on a table's structure is included. Defaults to not included. Implements issue #1064.
Diffstat (limited to 'Source/SPExportController.m')
-rw-r--r-- | Source/SPExportController.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPExportController.m b/Source/SPExportController.m index b22d2c32..54be5b91 100644 --- a/Source/SPExportController.m +++ b/Source/SPExportController.m @@ -582,6 +582,8 @@ static const NSString *SPSQLExportDropEnabled = @"SQLExportDropEnabled"; */ - (IBAction)toggleSQLIncludeStructure:(id)sender { + [exportSQLIncludeAutoIncrementValueButton setEnabled:[sender state]]; + [[exportTableList tableColumnWithIdentifier:SPTableViewStructureColumnID] setHidden:(![sender state])]; [self _toggleExportButtonOnBackgroundThread]; |