mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
a56d4ce026
* fix(schema): fix typo remove trailing comma fix typo remove trailing comma * feat(core): add resouce server query logic add resource server & scopes query logic to oidc-provider resourceIndicator feature config * fix(chore): scope should join with scopes.name fix scope name join format bug * fix(core): cr fix use pool.any replace pool.many use pool.any replace pool.many
16 lines
No EOL
387 B
SQL
16 lines
No EOL
387 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
|
|
foreign key (resource_id)
|
|
references resources(id)
|
|
);
|
|
|
|
create unique index resource_scopes__resource_id_name
|
|
on resource_scopes (
|
|
resource_id,
|
|
name
|
|
); |