fix: 移除 ca_authorizations 唯一键 uk_bot_contact,修复同机器二次激活 500 (Duplicate entry)
This commit is contained in:
1 parent
9375600f65
commit
fb8d034ffb
1 file changed
-1
@@ -241,7 +241,6 @@ CREATE TABLE `ca_authorizations` (
|
||||
`created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`updated_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `uk_bot_contact` (`bot_qq`, `contact_qq`),
|
||||
KEY `idx_bot_qq` (`bot_qq`),
|
||||
KEY `idx_contact_qq` (`contact_qq`),
|
||||
KEY `idx_card_id` (`card_id`),
|
||||
|
||||
Reference in new issue
Block a user