laravel手动误删了迁移文件,重新生成

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/lengyue1084/article/details/88215672

include(D:\UPUPW_AP5.6\htdocs\laravel\jiuxiangzu\vendor\composer/../../database/migrations/2019_03_05_162126_create  
  _admins_table.php): failed to open stream: No such file or directory 

1、删除migrations目录下错误的迁移文件app/database/migrations/xxxxxx.php
2、重置composer文件加载项: composer dump-autoload
3、删除数据库里的表,重新生成migrations文件进行操作
 

猜你喜欢

转载自blog.csdn.net/lengyue1084/article/details/88215672