[DBIx-Class-Devel] [sql-translator] add_trigger inconsistencies (#46)

andrewgregory notifications at github.com
Tue Nov 4 18:20:15 GMT 2014


In create_trigger PostgreSQL and DB2 use the trigger action as-is, which matches the documentation for `Trigger::action`, but SQLite and MySQL wrap the trigger action in `BEGIN ... END` causing an error if the action already includes `BEGIN ... END`.

---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/sql-translator/issues/46
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20141104/1728e437/attachment.htm>


More information about the DBIx-Class-Devel mailing list