I have created a new project.
Added a new table via migrations.
run the migration in the dev env, went fine.
In the production, only the core migrations run:
select * from migrations
+------------------------------------------------+-------+ | migration | batch | +------------------------------------------------+-------+ | 2014_10_12_000000_create_users_table | 1 | | 2014_10_12_100000_create_password_resets_table | 1 | +------------------------------------------------+-------+
But, my 2016_03_05_193451_create_logs_table.php file did not run in production when running the following command:
php artisan migrate
or
php artisan migrate --force
What might be the problem?
Thanks
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire