【问题解决】Integrity constraint violation: 1022 Can't write; duplicate key in table '#sql-1d6_6'

今天遇到了一个奇怪的问题,就是laravel执行php artisan migrate, 报错了
错误如下:
 [PDOException]                                                                                          
SQLSTATE[23000]: Integrity constraint violation: 1022 Can't write; duplicate key in table '#sql-1d6_6'
解决方案如下:
 这个约束已经存在了,删除重新导入就好了
Has invited:

网站管理员

Favor from:

 这个约束已经存在了,删除重新导入就好了

To reply to a question, please Login or registered