[fix][M]:完善数据库SQL 用户组数据

master
Romesum 5 years ago
parent 0cf66b34fb
commit 368427f8fe

@ -11,7 +11,7 @@
Target Server Version : 50729 Target Server Version : 50729
File Encoding : 65001 File Encoding : 65001
Date: 29/04/2020 17:02:55 Date: 06/05/2020 13:46:21
*/ */
SET NAMES utf8mb4; SET NAMES utf8mb4;
@ -27,11 +27,14 @@ CREATE TABLE `tb_auth_group` (
`rules_id` int(11) NULL DEFAULT NULL COMMENT '规则编号(用逗号隔开)', `rules_id` int(11) NULL DEFAULT NULL COMMENT '规则编号(用逗号隔开)',
`status` tinyint(4) NOT NULL COMMENT '用户组状态 0关闭 1开启', `status` tinyint(4) NOT NULL COMMENT '用户组状态 0关闭 1开启',
PRIMARY KEY (`group_id`) USING BTREE 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 -- 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 -- Table structure for tb_auth_group_access
@ -45,6 +48,7 @@ CREATE TABLE `tb_auth_group_access` (
-- ---------------------------- -- ----------------------------
-- Records of 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 -- Table structure for tb_auth_rules

Loading…
Cancel
Save