multi-tenant branch changed db to tenants_db

This commit is contained in:
2024-06-19 11:23:36 +08:00
parent 7a785182b7
commit 2f08c044fc
22 changed files with 374 additions and 374 deletions

View File

@@ -1,7 +1,7 @@
SET FOREIGN_KEY_CHECKS=0;
CREATE TABLE
IF NOT EXISTS `omc_db`.`sys_role_dept` (
IF NOT EXISTS `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