03/10
2016
Wallogit.com
2017 © Pedro Peláez
Generate migrations from a previous database
This packages only works with mysql for now, (*1)
If you have a previous database, and you want to import to laravel, this is the perfect package. This package will import all of your tables, column with their respectives foreign keys., (*2)
Run, (*3)
composer install lucasruroken/lara-migrations-generator dev-master
All you have to do is add the following provider into config/app.php, (*4)
\LucasRuroken\LaraMigrationsGenerator\LaraMigrationsGeneratorProvider::class,
and run in your console, (*5)
php artisan generate:migrations:mysql