From 368427f8febf5a009b0540193b7ea9a870c82f57 Mon Sep 17 00:00:00 2001 From: Romesum Date: Wed, 6 May 2020 13:47:48 +0800 Subject: [PATCH] =?UTF-8?q?[fix][M]:=E5=AE=8C=E5=96=84=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93SQL=20=E7=94=A8=E6=88=B7=E7=BB=84=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- java/sql/lab_booking.sql | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/java/sql/lab_booking.sql b/java/sql/lab_booking.sql index b88da5d..b5cdba3 100644 --- a/java/sql/lab_booking.sql +++ b/java/sql/lab_booking.sql @@ -11,7 +11,7 @@ Target Server Version : 50729 File Encoding : 65001 - Date: 29/04/2020 17:02:55 + Date: 06/05/2020 13:46:21 */ SET NAMES utf8mb4; @@ -27,11 +27,14 @@ CREATE TABLE `tb_auth_group` ( `rules_id` int(11) NULL DEFAULT NULL COMMENT '规则编号(用逗号隔开)', `status` tinyint(4) NOT NULL COMMENT '用户组状态 0:关闭 1:开启', PRIMARY KEY (`group_id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; +) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of tb_auth_group -- ---------------------------- +INSERT INTO `tb_auth_group` VALUES (1, '教师', NULL, 1); +INSERT INTO `tb_auth_group` VALUES (2, '实验室管理员', NULL, 1); +INSERT INTO `tb_auth_group` VALUES (3, '超级管理员', NULL, 1); -- ---------------------------- -- Table structure for tb_auth_group_access @@ -45,6 +48,7 @@ CREATE TABLE `tb_auth_group_access` ( -- ---------------------------- -- Records of tb_auth_group_access -- ---------------------------- +INSERT INTO `tb_auth_group_access` VALUES (2, 3); -- ---------------------------- -- Table structure for tb_auth_rules