mercredi 31 août 2016

migrate command on laravel 5.1 console

I have created many tables use migration file, but i have dropped some table via the mysql command line tool, then i find the migration status about the tables i have dropped is still ran, so how can i fix it?

when i use migrate command, it always says nothing to migrate, but i have no ta ble in my database.

I have tried delete all the logs and stuff under the storage path, i have also tried to delete the migration table on mysql or change .env file to use a new database, but both can not works, anyone can help me?

I use laravel 5.1.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire