mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
86ce5a9640
* fix(core): align resource_identifier namespace with OIDC provider replace resource identifier name with resource_indicator align the usage with OIDC Provider * fix(cr): cr fix add empty line
12 lines
362 B
SQL
12 lines
362 B
SQL
create table resources (
|
|
id varchar(24) not null,
|
|
name text not null,
|
|
indicator text not null unique, /* resource indicator also used as audience */
|
|
access_token_ttl bigint not null default(86400), /* expiration value in seconds, default is 24h */
|
|
primary key (id)
|
|
);
|
|
|
|
create unique index resources__indicator
|
|
on resources (
|
|
indicator
|
|
);
|