我在运行php artisan migrate命令时遇到了问题。
当我输入:
php artisan make:migration create_test_table
我明白了:
Process finished with exit code 255 at 22:12:19.
Execution time: 492 ms.
然而,这些工作没有任何错误:
php artisan migrate
php artisan migrate:reset
我在localhost中使用OS X 10.11.6,PHPStorm最新版本,MAMP(MySQL)。
我试图手动删除表并生成composer dump-autoload
,但我得到了相同的结果。
有什么想法吗?
PS:
> php artisan migrate:status
+------+------------------------------------------------+
| Ran? | Migration |
+------+------------------------------------------------+
| Y | 2014_10_12_000000_create_users_table |
| Y | 2014_10_12_100000_create_password_resets_table |
| Y | 2016_08_7_213420_create_messages_table |
+------+------------------------------------------------+