Closed rjacobsen2012 closed 3 months ago
[ErrorException]
Invalid argument supplied for foreach()
Exception trace:
() at <redacted>/migrations-generator/src/Xethron/MigrationsGenerator/MigrateGenerateCommand.php:343
@arall I just pushed a fix for the error. Should be working fine now.
Thanks @rjacobsen2012 , issue fixed. However, I can see some foreign relations of tables that doesn't exist yet.
@arall What foreign relations? Please provide some detail.
@rjacobsen2012 If you create the table and the foreign keys at the same time, you will have some issues where the tables your foreign keys refer to do not exist yet. That is currently why the foreign keys are created as a second step.
I have added the following features to your package, and do hope you approve.