我嘗試在MySQL中創建一個表,但我得到以下錯誤:MySQL的錯誤:表或視圖已經存在
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'migrations' already exists (SQL: create table
migrations
(id
int unsigned not null auto_increment primary key,migration
varchar(255) not null,batch
int not null) default character set utf8 collate utf8_unicode_ci)
我該如何解決這個問題?
如果MySQL說已經有一個表,那麼你是運行'php artisan migrate'還是'php artisan migrate:install'? – nogad
? – lagbox
php artisan migrate – Hashan