Reputation: 137
Unable to run the php artisan migrate:refresh
& php artisan migrate
command in the terminal.
I created the Migration File in the directory, and then deleted it manually from the sidebar rather than make it drop through Drop command. Now, I am unable to run the migrate commands plus the raw sql queries.
Anyone, who can help me out? Can I restore the file which I deleted?
Upvotes: 1
Views: 684
Reputation: 4135
You apparently deleted a migration called 'Add Column' and now migrate is searching for it, but can't find it. Delete this particular row manually in the migrations table in your database and the migrate should run.
Upvotes: 1