dev-master
9999999-devMigrations generator for Laravel.
MIT
The Requires
The Development Requires
by Josh Taylor
0.1.0
0.1.0.0Migrations generator for Laravel.
MIT
The Requires
The Development Requires
by Josh Taylor
Wallogit.com
2017 © Pedro Peláez
Migrations generator for Laravel.
Generate migrations from an existing database. Ideal for use when migrating an app to Laravel., (*1)
Please note, this is still really a work in progress. Worth noting the things left to do below., (*2)
From the command line run:, (*3)
composer require josh-taylor/migrations-generator --dev
For your Laravel app, you will only want these commands available during development, open app/Providers\AppServiceProvider.php and add in to the register() method:, (*4)
if ($this->app->environment() == 'local') {
$this->app->register('JoshTaylor\MigrationsGenerator\MigrationsGeneratorServiceProvider');
}
Run from the command line:, (*5)
php artisan migrate:generate
Bask in the glory of all these migrations created for you., (*6)
$table->increments() and $table->timestamps() are always added. (May require moving away from laracasts/Laravel-5-Generators-Extended)Migrations generator for Laravel.
MIT
Migrations generator for Laravel.
MIT