mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
6 lines
243 B
MySQL
6 lines
243 B
MySQL
|
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)
|
||
|
);
|