jbhasan / custom-migration

Laravel custom db migrate using indifidual file name
20 stars 6 forks source link

Not working for multiple tables in one migration #2

Closed pedzed closed 6 years ago

pedzed commented 6 years ago

I am getting this error:

MIGRATION STARTED
-> 5000_00_00_000000_create_foreign_keys Migration file invalid

   ErrorException  : Undefined variable: table_name

When I try to migrate this file: https://gist.github.com/pedzed/30e15d9177d6f4b4f23e945d8d51106e

jbhasan commented 6 years ago

Foreign key option is not allowed now. I will try to add this in our next version.

Thanks

jbhasan commented 6 years ago

Now you can migrate these type of migration. Please try with new version...

- Thanks