【发布时间】:2018-09-09 06:46:45
【问题描述】:
我在我的 laravel 项目中错误地创建了 2 个迁移,使用名为 2018_03_30_075929_drop_products_tags_table 和 2018_03_30_075242_create_products_tags_table 的 php artisan make:migration 命令,然后我删除了文件。
现在我运行命令 php artisan migrate:refresh 的所有内容都出现此错误
Migration not found: 2018_03_30_075929_drop_products_tags_table
Migration not found: 2018_03_30_075242_create_products_tags_table
...
我试图运行php artisan migrate:reset,但我得到了同样的错误。我该如何解决这个问题,因为它让我发疯:(
【问题讨论】:
-
只需从迁移表中删除迁移文件名
标签: php laravel laravel-artisan