aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableTriggers.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace use of hardcoded strings with constants when working with trigger data.stuconnolly2010-10-191-0/+11
|
* Add a 'Edit Trigger' menu item to the trigger's table view context menu.stuconnolly2010-10-191-1/+1
|
* Because the process of editing a trigger involves droping and then ↵stuconnolly2010-10-191-0/+4
| | | | re-creating it, if an error occurs when attempting to re-create it remember to then re-create the original one. Fixes issue #795.
* Added support for edit triggers. Doubleclick on a row and the Add trigger ↵bamse162010-07-111-0/+4
| | | | | | | | | | | | | | pops up with all the fields prepopulated. Edit works as 'DROP' old trigger and then 'CREATE' new trigger (since MySQL doesn't have support for 'ALTER' trigger). In case of error while adding the new trigger, when you add a new trigger, all the info from the original trigger is preserved. (Don't know if this is the best solution).
* Initial implementation of tabs:rowanbeentje2010-05-231-1/+0
| | | | | | | | - Addition of PSMTabBar framework - Rework away from a document-based TableDocument - Support tabs throughout the application - Add menu items for creating tabs, and add support for dragging tabs to different windows
* Review trigger fetching and storage:rowanbeentje2010-05-011-0/+2
| | | | | | | - Trigger queries are no longer made for MySQL < 5.0.2 - Trigger loading has been deferred until the trigger tab is active, reducing queries when switching tables and thus increasing overall responsiveness - Export triggers in MySQL dumps even if the Table Content switch is unchecked
* Add support for printing the table triggers view as well some HTML ↵stuconnolly2010-03-131-0/+3
| | | | generation performance improvements.
* Disable the addition of triggers on versions of MySQL less than 5.0.2 when ↵stuconnolly2010-02-071-0/+5
| | | | support for them was initially added.
* Complete the implementation of the management of table triggers (accessible ↵stuconnolly2010-02-061-20/+17
| | | | via Cmd+6). Note, that better support for entering the trigger statement in terms of escaping and delimiter support most likely needs to be added.
* Added preliminary support for triggers. You can access the tab via the bamse162010-01-311-0/+69
menu item View > Table Triggers (apple-6). Heavily copied from Relations tab, lots of functionality missing. Just lists the triggers for the table now. M Source/SPTableData.m M Source/SPConstants.h M Source/SPConstants.m A Source/SPTableTriggers.h A Source/SPTableTriggers.m M Source/TableDocument.h M Source/TableDocument.m M Source/SPTableData.h M Interfaces/English.lproj/MainMenu.xib M Interfaces/English.lproj/DBView.xib M sequel-pro.xcodeproj/project.pbxproj