$table->dropUnique('products_slug_unique'); }错误
照明\数据库\QueryException SQLSTATE23000:完整性约束违反: 1062重复条目'‘为键'products_slug_unique’(SQL: alter products添加唯一products_slug_unique(slug))
原则\DBAL\Driver\PDOException S
但我一直收到SQLError: 1062,SQLState: 23000主键Violation.Although我正在获取不同的记录并插入相同的记录。有时我也会得到下面的异常 java.sql.SQLException: Deadlock found when trying to get lock; try restarting transactiono.h.e.jdbc.batch.internal.BatchingBatch : HHH000315: Exception exec