cviebrock / sequel-pro-laravel-export

A Sequel Pro / Sequel Ace bundle to generate Laravel migration files from existing tables.
MIT License
921 stars 55 forks source link

Update command.plist #4

Closed rslanzi closed 7 years ago

rslanzi commented 7 years ago

If you are working with a MyISAM table, CONSTRAINTS doesn't exist and the script die. With this commit, the script execute the CONSTRAINTS query only if CONSTRAINTS exists. For doesn't break down the php class, I create an empty rowsConstraints.tsv.

Quick and dirty. To be optimize in the future!

cviebrock commented 7 years ago

Cool ... thanks!

rslanzi commented 7 years ago

Thank you Colin for the package! :-)