laravel-db-dump-migration maintained by fatindeed
Laravel DB Dump Migration
Guide
-
Install with composer
composer require --dev fatindeed/laravel-db-dump-migration -
Add command to your
app/Console/Kernel.phpprotected $commands = [ \Fatindeed\LaravelDbDumpMigration\DbDumpCommand::class ]; -
Run command
php artisan db:dump-migration my_table_namephp artisan db:dump-migration my_table_name --database=mysql