【发布时间】:2021-11-09 11:55:48
【问题描述】:
我已经运行了以下 Laravel 命令 PHP artisan make: migration add_category_id_to_posts 但我还需要运行以下命令 PHP artisan make: migration add_category_id_to_posts --table=posts 然后我需要回滚第一个命令并运行第二个命令。那怎么办?
【问题讨论】:
-
您无法回滚此类命令。继续删除创建的迁移文件。
-
这能回答你的问题吗? Rollback one specific migration in Laravel