mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
f85b922836
* feat(core): add sign-in-experience-setting table add sign-in-experience-setting table * fix(core): fix typo fix typo * refactor: rename sign-in-experience table name rename sign-in-experience table name * fix(core): cr fix update sign_in_method schema update sign_in_method schema * fix(schema): cr fix remove signinMethodsMetadata jsonb field
17 lines
No EOL
430 B
SQL
17 lines
No EOL
430 B
SQL
create table resource_scopes (
|
|
id varchar(24) not null,
|
|
name varchar(64) not null,
|
|
description text not null,
|
|
resource_id varchar(24) not null,
|
|
primary key (id),
|
|
constraint fk__resource_scopes__resource_id
|
|
foreign key (resource_id)
|
|
references resources(id)
|
|
on delete cascade
|
|
);
|
|
|
|
create unique index resource_scopes__resource_id_name
|
|
on resource_scopes (
|
|
resource_id,
|
|
name
|
|
); |