Is it possible to create a migration in Laravel 4 from an existing database?
Asked
Active
Viewed 5,113 times
5
-
Check this question: http://stackoverflow.com/questions/13605767/generating-migration-from-existing-databse-in-yii-or-laravel?rq=1 – Damien Pirsy May 07 '14 at 10:08
-
2https://github.com/barryvdh/laravel-migration-generator – Mark Baker May 07 '14 at 10:08
-
Thanks mark. tested it out and migration file seems to be accurate including relationships. – jeanfrg May 07 '14 at 10:15
1 Answers
10
-
2also check out my extensive answer linked below, you might find it useful as well: http://stackoverflow.com/questions/20271670/reverse-engineering-or-auto-generations-of-entities-in-laravel/20274636#20274636 – Gadoma May 07 '14 at 11:02
-
1