From f091d0fe2a4bde403e7b0d8f7ce0e9e26c50beca Mon Sep 17 00:00:00 2001 From: Liu Ji Date: Mon, 19 Sep 2022 15:50:32 +0800 Subject: [PATCH] =?UTF-8?q?sql=20=E6=9B=B4=E6=96=B0=E3=80=90drop=20=5Ffile?= =?UTF-8?q?=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/init.sql | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sql/init.sql b/sql/init.sql index 1e22075..53b444f 100644 --- a/sql/init.sql +++ b/sql/init.sql @@ -63,10 +63,6 @@ CREATE TABLE `_group` ( -INSERT INTO `_group` (`id`,`groupId`,`groupName`,`groupDesc`,`groupAvatar`,`groupExtend`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (1,'adminGroup','管理组','管理组',NULL,'{}','insert',NULL,NULL,NULL); -INSERT INTO `_group` (`id`,`groupId`,`groupName`,`groupDesc`,`groupAvatar`,`groupExtend`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (6,'wudang','武当','武当',NULL,'{}','insert',NULL,NULL,NULL); -INSERT INTO `_group` (`id`,`groupId`,`groupName`,`groupDesc`,`groupAvatar`,`groupExtend`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (7,'gaibang','丐帮','丐帮',NULL,'{}','insert',NULL,NULL,NULL); -INSERT INTO `_group` (`id`,`groupId`,`groupName`,`groupDesc`,`groupAvatar`,`groupExtend`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (8,'huashan','华山派','华山派',NULL,'{}','insert',NULL,NULL,NULL); @@ -122,7 +118,7 @@ CREATE TABLE `_record_history` ( PRIMARY KEY (`id`) USING BTREE, KEY `index_record_id` (`recordId`) USING BTREE, KEY `index_table_action` (`table`, `operation`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 42 COMMENT = '数据历史表'; +) ENGINE = InnoDB AUTO_INCREMENT = 43 COMMENT = '数据历史表'; @@ -472,7 +468,7 @@ CREATE TABLE `_user_session` ( KEY `userId_index` (`userId`) USING BTREE, KEY `userId_deviceId_index` (`userId`, `deviceId`) USING BTREE, KEY `authToken_index` (`authToken`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 32 COMMENT = '用户session表; deviceId 维度;软删除未启用;'; +) ENGINE = InnoDB AUTO_INCREMENT = 33 COMMENT = '用户session表; deviceId 维度;软删除未启用;';