mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-13 21:53:41 +08:00
fix:初始化语句重复问题
This commit is contained in:
@@ -187,9 +187,6 @@ CREATE TABLE `user_role` (
|
|||||||
KEY `idx_update_time` (`update_time`) USING BTREE
|
KEY `idx_update_time` (`update_time`) USING BTREE
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='用户角色关系表';
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='用户角色关系表';
|
||||||
|
|
||||||
insert into role(id,`name`) values(1,'超级管理员');
|
|
||||||
insert into role(id,`name`) values(2,'抹茶群聊管理员');
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `sensitive_word`;
|
DROP TABLE IF EXISTS `sensitive_word`;
|
||||||
CREATE TABLE `sensitive_word` (
|
CREATE TABLE `sensitive_word` (
|
||||||
`word` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '敏感词'
|
`word` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '敏感词'
|
||||||
|
|||||||
Reference in New Issue
Block a user