9 lines
228 B
SQL
9 lines
228 B
SQL
create table fad_oa.sys_role_dept
|
|
(
|
|
role_id bigint not null comment '角色ID',
|
|
dept_id bigint not null comment '部门ID',
|
|
primary key (role_id, dept_id)
|
|
)
|
|
comment '角色和部门关联表' charset = utf8mb4;
|
|
|