change menu for multi-tenant

This commit is contained in:
2024-06-20 16:53:51 +08:00
parent d76af7eaba
commit 86d56a513f
4 changed files with 41 additions and 38 deletions

View File

@@ -35,13 +35,12 @@ CREATE TABLE `sys_tenant` (
`create_time` bigint(20) NULL DEFAULT 0 COMMENT '创建时间',
`update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者',
`update_time` bigint(20) NULL DEFAULT 0 COMMENT '更新时间',
PRIMARY KEY (`tenant_id`) USING BTREE,
UNIQUE INDEX `uni_idx_tenant_name`(`tenant_name`) USING BTREE COMMENT 'unique index of tenant_name'
PRIMARY KEY (`tenant_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 123 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '部门表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sys_tenant
-- ----------------------------
INSERT INTO `sys_tenant` VALUES (100, 0, '0', '5GLAN', 0, '', '', '1', '0', 'supervisor', 1699348237468, 'supervisor', 1718783333041);
INSERT INTO `sys_tenant` VALUES (1, 0, '0', 'TenantRoot', 0, '', '', '1', '0', 'admin', 1699348237468, '', 1718783333041);
SET FOREIGN_KEY_CHECKS = 1;