起初我得错了:: php artisan migrate:rollback
[ErrorException]
未定义索引:2016_09_29_105926_create_author_table
要解决它我尝试修补..但它没有工作
php artisan tinker
Psy Shell v0.7.2 (PHP 5.6.8 ΓÇö cli) by Justin Hileman
>>> schema::drop('larw')
PHP Fatal error: Class 'schema' not found in eval()'d code on line 1
答案 0 :(得分:-1)
工匠需要运行:
php artisan optimize