laravel 根据数据表生成迁移文件

暂无标签

安装依赖

composer require --dev "kitloong/laravel-migrations-generator"

运行

php artisan migrate:generate

或者指定表名

php artisan migrate:generate table1,table2,table3,table4,table5