不小心把这们删掉了 2014_11_06_153000_create_users_table.php!!!
php artisan migrate:refresh --seed
**************************************
* Application In Production! *
**************************************
Do you really wish to run this command? y
**************************************
* Application In Production! *
**************************************
Do you really wish to run this command? y
[ErrorException]
include(/mnt/www/ninghao/app/database/migrations/2014_11_06_153000_create_users_table.php): failed to open stream: No such file or directory
migrate:refresh [--database[="..."]] [--force] [--seed] [--seeder[="..."]]
php artisan migrate:rollback
**************************************
* Application In Production! *
**************************************
Do you really wish to run this command? y
[ErrorException]
include(/mnt/www/ninghao/app/database/migrations/2014_11_06_153000_create_users_table.php): failed to open stream: No such file or directory
migrate:rollback [--database[="..."]] [--force] [--pretend]
**************************************
* Application In Production! *
**************************************
Do you really wish to run this command? y
**************************************
* Application In Production! *
**************************************
Do you really wish to run this command? y
[ErrorException]
include(/mnt/www/ninghao/app/database/migrations/2014_11_06_153000_create_users_table.php): failed to open stream: No such file or directory
migrate:refresh [--database[="..."]] [--force] [--seed] [--seeder[="..."]]
php artisan migrate:rollback
**************************************
* Application In Production! *
**************************************
Do you really wish to run this command? y
[ErrorException]
include(/mnt/www/ninghao/app/database/migrations/2014_11_06_153000_create_users_table.php): failed to open stream: No such file or directory
migrate:rollback [--database[="..."]] [--force] [--pretend]
6 个回复
qufo
赞同来自: FiveSay 、安正超
baitongda
赞同来自:
JasonLaravel
赞同来自:
iralance
赞同来自:
1.如果是代码管理工具git 可以恢复被的删除
2. 另一种方式把migrates以下的2014_11_06_153000_create_users_table的记录全删除,然后去把有改动过的数据表结构都改成执行migrate之前 一切都重新生成 也是可以的
安正超
赞同来自:
kelson
赞同来自: