Xethron/migrations-generator — pull request #18 by virtualize (2014-07-23 09:47:10+00:00)
Title: added support for named foreign keys

Thanks for your reverse migration generator, it works pretty well.

When foreign key naming in the existing database differs from the common laravel syntax, the dropForeign() statements are wrong. I've fixed this so that the name of a foreign key is taken from the existing database.

Unfortunately, on MySQL, one still needs to add `$table->engine ='InnoDB';` manually to the migrations create statements. I did not found a way the get the storage engine (in case of MySQL) from the existing table via doctrine/dbal.