0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00
logto/packages/schemas/tables/applications.sql
2021-08-10 21:26:49 +08:00

10 lines
348 B
SQL

create type application_type as enum ('Native', 'SPA', 'Traditional');
create table applications (
id varchar(128) not null,
name varchar(256) not null,
type application_type not null,
oidc_client_metadata jsonb /* @use OidcClientMetadata */ not null,
created_at bigint not null default(extract(epoch from now())),
primary key (id)
);