2022-06-17 10:36:07 +08:00
|
|
|
create type sign_in_mode as enum ('SignIn', 'Register', 'SignInAndRegister');
|
|
|
|
|
2022-01-25 11:48:47 +08:00
|
|
|
create table sign_in_experiences (
|
2022-04-18 15:27:58 +08:00
|
|
|
id varchar(21) not null,
|
2022-04-18 17:06:13 +08:00
|
|
|
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,
|
2022-05-17 17:09:42 +08:00
|
|
|
social_sign_in_connector_targets jsonb /* @use ConnectorTargets */ not null default '[]'::jsonb,
|
2022-06-17 10:36:07 +08:00
|
|
|
sign_in_mode sign_in_mode not null default 'SignInAndRegister',
|
2022-01-25 11:48:47 +08:00
|
|
|
primary key (id)
|
2022-03-15 16:46:23 +08:00
|
|
|
);
|