0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/schemas/tables/scopesroles.sql
2023-01-06 15:37:00 +08:00

5 lines
247 B
SQL

create table roles_scopes (
role_id varchar(21) not null references roles (id) on update cascade on delete cascade,
scope_id varchar(21) not null references scopes (id) on update cascade on delete cascade,
primary key (role_id, scope_id)
);