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/sign_in_experiences.sql
IceHe.xyz 9f3fc5a5cc
feat(schemas): sign-in-experiences (#361)
* chore(schemas): remove useless table sign_in_methods

* feat(schemas): sign-in-experiences

* chore(core): update mock.ts and sign-in-experience.test.ts about sign-in-experiences schema

* chore(core): fix typo in test
2022-03-15 16:46:23 +08:00

10 lines
529 B
SQL

create table sign_in_experiences (
id varchar(128) not null,
branding jsonb /* @use Branding */ not null default '{}'::jsonb,
language_info jsonb /* @use LanguageInfo */ not null default '{}'::jsonb,
terms_of_use jsonb /* @use TermsOfUse */ not null default '{}'::jsonb,
forget_password_enabled boolean not null default false,
sign_in_methods jsonb /* @use SignInMethods */ not null default '{}'::jsonb,
social_sign_in_connector_ids jsonb /* @use ConnectorIds */ not null default '[]'::jsonb,
primary key (id)
);