vieten / sequel-pro

Automatically exported from code.google.com/p/sequel-pro
Other
0 stars 0 forks source link

"Duplicate Table" option does not duplicate triggers #1160

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create a table and add a trigger to it

2. Use the Duplicate Table option to create a copy of the table

3. Look at Triggers view for the table 

What is the expected output? What do you see instead?
Expecting to see a trigger
None is associated with the table

What version of Sequel Pro are you using? What version of MySQL are you
connecting to on the server?
Sequel Pro 0.9.9
MySQL 5.1.57-log on OS X 10.6.8, iMac Core i5

Please provide any additional information below.
I've tested this with BEFORE INSERT and BEFORE UPDATE triggers, but I assume 
the same problem would occur with AFTER triggers and DELETE triggers too. 

Original issue reported on code.google.com by jrouff...@gmail.com on 25 Aug 2011 at 2:32

GoogleCodeExporter commented 9 years ago

Original comment by stuart02 on 27 Aug 2011 at 9:17

GoogleCodeExporter commented 9 years ago

Original comment by mattlangtree on 15 Mar 2012 at 10:55