0

我已经为 laravel 设置了宅基地环境。我正在使用最新版本的 laravel(5.4)。每当我运行命令 php artisan Huang 时,我都会收到以下错误:

1) Tests\Browser\auth\LawyerRegisterTest::lawyer_can_register
Illuminate\Database\QueryException: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'court_user' already exists (SQL: create table    `court_user` (`court_id` int not null, `user_id` int not null) default character set utf8 collate utf8_unicode_ci)

每次运行黄昏测试时都必须重置迁移吗?

4

0 回答 0