0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/schemas/tables/application_sign_in_experiences.sql
simeng-li 541ea2919c
feat(schemas): add application sign-in-experience table (#5122)
* feat(schemas): add application sign-in-experience table

add application level sign-in-experience table

* fix(schemas): fix table name

fix table name

* fix(schemas): fix table file name

fix table file name
2023-12-21 10:20:45 +08:00

15 lines
548 B
SQL

/* init_order = 2 */
/** Application level sign-in experience configuration. */
create table application_sign_in_experiences (
tenant_id varchar(21) not null
references tenants (id) on update cascade on delete cascade,
application_id varchar(21) not null
references applications (id) on update cascade on delete cascade,
branding jsonb /* @use Branding */ not null default '{}'::jsonb,
terms_of_use_url varchar(2048),
privacy_policy_url varchar(2048),
display_name varchar(256),
primary key (tenant_id, application_id)
);