mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
16 lines
722 B
SQL
16 lines
722 B
SQL
create type sign_in_mode as enum ('SignIn', 'Register', 'SignInAndRegister');
|
|
|
|
create table sign_in_experiences (
|
|
id varchar(21) not null,
|
|
color jsonb /* @use Color */ not null,
|
|
branding jsonb /* @use Branding */ not null,
|
|
language_info jsonb /* @use LanguageInfo */ not null,
|
|
terms_of_use jsonb /* @use TermsOfUse */ not null,
|
|
sign_in_methods jsonb /* @use SignInMethods */ not null,
|
|
sign_in jsonb /* @use SignIn */ not null,
|
|
sign_up jsonb /* @use SignUp */ not null,
|
|
social_sign_in_connector_targets jsonb /* @use ConnectorTargets */ not null default '[]'::jsonb,
|
|
sign_in_mode sign_in_mode not null default 'SignInAndRegister',
|
|
forgot_password boolean not null default false,
|
|
primary key (id)
|
|
);
|