2021-08-10 04:21:34 -05:00
|
|
|
create type application_type as enum ('Native', 'SPA', 'Traditional');
|
|
|
|
|
|
|
|
create table applications (
|
|
|
|
id varchar(128) not null,
|
|
|
|
name varchar(256) not null,
|
2022-01-10 22:58:58 -05:00
|
|
|
description text,
|
2021-08-10 04:21:34 -05:00
|
|
|
type application_type not null,
|
|
|
|
oidc_client_metadata jsonb /* @use OidcClientMetadata */ not null,
|
2022-01-13 01:15:13 -05:00
|
|
|
custom_client_metadata jsonb /* @use CustomClientMetadata */ not null default '{}'::jsonb,
|
2021-08-18 03:36:52 -05:00
|
|
|
created_at timestamptz not null default(now()),
|
2021-08-10 04:21:34 -05:00
|
|
|
primary key (id)
|
|
|
|
);
|