fatindeed / laravel-db-dump-migration
Laravel DB Dump Migration
0.1.0
2019-07-10 04:24 UTC
Requires
- php: ^7.1
- illuminate/database: 5.8.*
Requires (Dev)
- phpunit/phpunit: ^7.0 || ^8.0
This package is auto-updated.
Last update: 2024-10-26 12:58:59 UTC
README
Guide
-
Install with composer
composer require --dev fatindeed/laravel-db-dump-migration
-
Add command to your
app/Console/Kernel.php
protected $commands = [ \Fatindeed\LaravelDbDumpMigration\DbDumpCommand::class ];
-
Run command
php artisan db:dump-migration my_table_name
php artisan db:dump-migration my_table_name --database=mysql