You can basicly do this by renaming files. You can call php artisan migrate one by one with given filename. And you can maybe first create all tables and then make Schema::table
dudzio12 said:
You can basicly do this by renaming files. You can call php artisan migrate one by one with given filename. And you can maybe first create all tables and then make Schema::table
I had been designing the database with MySQL Workbench EER diagrams so it was quite easy to extract an SQL table creation file from there and see the order for the files to work.
Though, now when I run php artisan migrate, I get an error: [ErrorException] Creating default object from empty value
What does this mean and how do I fix it?
Edit. This was a mistake in one of my migration files. I had forgot the table parameter in the Schema::create callback function.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community