Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel migrations table not found

I'm trying to recover a project after a failed HDD. Lost the mysql information, so just have the project code.

I hoped to be able to put my database back together by using artisan migrate, but the error message tells me:

database.migrations doesn't exist

Is there actually a way I can use my Laravel code files and the command line to rebuilt my database like this?

Thanks for the help.

like image 739
andyg1 Avatar asked Feb 04 '14 18:02

andyg1


1 Answers

The command I needed to run was:

php artisan migrate:install

(I actually had more problems than this because the mysql install was messed up to. I don't know if simply php artisan migrate on its own would have implied :install but I'm adding it as an answer anyway should anyone have similar issues)

like image 198
andyg1 Avatar answered Sep 27 '22 16:09

andyg1