0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/schemas/tables/scopesroles.sql

5 lines
229 B
SQL

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