31 lines
1.4 KiB
SQL
31 lines
1.4 KiB
SQL
-- ----------------------------
|
|
-- Table structure for sys_role
|
|
-- ----------------------------
|
|
DROP TABLE IF EXISTS "sys_role";
|
|
CREATE TABLE "sys_role" (
|
|
"role_id" integer NOT NULL,
|
|
"role_name" text(64) NOT NULL,
|
|
"role_key" text(64) NOT NULL,
|
|
"role_sort" integer(11),
|
|
"data_scope" text(1),
|
|
"menu_check_strictly" text(1),
|
|
"dept_check_strictly" text(1),
|
|
"status_flag" text(1),
|
|
"del_flag" text(1),
|
|
"create_by" text(64),
|
|
"create_time" integer(20),
|
|
"update_by" text(64),
|
|
"update_time" integer(20),
|
|
"remark" text(200),
|
|
PRIMARY KEY ("role_id")
|
|
);
|
|
|
|
-- ----------------------------
|
|
-- Records of sys_role
|
|
-- ----------------------------
|
|
INSERT INTO "sys_role" VALUES (1, 'role.system', 'system', 1, '1', '1', '1', '1', '0', 'system', 1697091437683, 'system', 1697091437683, 'role.systemRemark');
|
|
INSERT INTO "sys_role" VALUES (2, 'role.admin', 'admin', 2, '1', '1', '1', '1', '0', 'system', 1697091437683, 'system', 1697091437683, 'role.adminRemark');
|
|
INSERT INTO "sys_role" VALUES (3, 'role.operator', 'operator', 3, '1', '1', '1', '1', '0', 'system', 1697091437683, 'system', 1697091437683, 'role.operatorRemark');
|
|
INSERT INTO "sys_role" VALUES (4, 'role.monitor', 'monitor', 4, '1', '1', '1', '1', '0', 'system', 1697091437683, 'system', 1697091437683, 'role.monitorRemark');
|
|
INSERT INTO "sys_role" VALUES (5, 'role.vistor', 'vistor', 5, '1', '1', '1', '1', '0', 'system', 1697091437683, 'system', 1697091437683, 'role.vistorRemark');
|