//生成迁移
php artisan make:migration create_flights_table
//迁移状态
php artisan migrate
//执行迁移
php artisan migrate
//强制迁移
php artisan migrate --force
//回滚迁移
php artisan migrate:rollback --step=1
//重置
php artisan migrate:reset
//重置并填充数据
php artisan migrate:fresh --seed
Laravel数据库迁移常用命令
【AD】美国洛杉矶CN2 VPS/香港CN2 VPS/日本CN2 VPS推荐,延迟低、稳定性高、免费备份_搬瓦工vps
【AD】Justhost:全场VPS 8折优惠,200Mbps-1Gbps带宽不限流量,可选中国香港/新加坡/美国/俄罗斯CN2线路等24个机房,月付8元起