How does table migration/creation work?
I am not sure if I am missing something. in Database/migrations I had some files that will create tables. And the tables were missing in the database and caused errors on site. I ran this command
php artisan migrate
The result was that no migration or update (something like that)
I manually created the tables to fix the issues with the site but just want to know for future purposes. I hope I provided enough info. Thank you for all the support.
Hi there,
The default migrations that come with Wave can be applied initially using php artisan migrate --seed
after that, if you create new tables over Voyager you will need to manually create them in production as well or follow some of the suggestions here:
Alternatively, rather than using the Voyager Table creation UI, you could use the standard Laravel migrations functionality as show here:
Let me know if I'm missing anything!