mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
5 lines
243 B
SQL
5 lines
243 B
SQL
create table users_roles (
|
|
user_id varchar(21) not null references users (id) on update cascade on delete cascade,
|
|
role_id varchar(21) not null references roles (id) on update cascade on delete cascade,
|
|
primary key (user_id, role_id)
|
|
);
|