fix: sql error

This commit is contained in:
zchengo
2023-01-04 17:40:31 +08:00
parent 3ae1ca33ba
commit e646965ab1
+1 -1
View File
@@ -88,7 +88,7 @@ CREATE TABLE `notice` (
`creator` bigint DEFAULT NULL COMMENT '创建者',
`created` bigint DEFAULT NULL COMMENT '创建时间',
`updated` bigint DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`)
PRIMARY KEY (`id`),
KEY `idx_creator` (`creator`)
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8mb3;