0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/schemas/tables/resources.sql
simeng-li 492724a575
refactor(core): resources related db query cleanup (#179)
* refactor(core): resources related db query cleanup

clean resourece & scopes db queries

* refactor(core): rename resources and scopes query file name

rename plural filename
2022-01-14 11:54:09 +08:00

7 lines
No EOL
288 B
SQL

create table resources (
id varchar(24) not null,
name text not null,
identifier 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)
);