Files
be.ems/database/install/sys_role_dept.sql
2024-06-19 11:49:09 +08:00

20 lines
537 B
SQL

--
-- Table structure for table `sys_role_dept`
--
DROP TABLE IF EXISTS `sys_role_dept`;
CREATE TABLE `sys_role_dept` (
`role_id` bigint(20) NOT NULL COMMENT '角色ID',
`dept_id` bigint(20) NOT NULL COMMENT '部门ID',
PRIMARY KEY (`role_id`,`dept_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='角色和部门关联表';
--
-- Dumping data for table `sys_role_dept`
--
LOCK TABLES `sys_role_dept` WRITE;
UNLOCK TABLES;
-- Dump completed on 2024-03-06 17:27:00