mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
71465ca999
* feat(schemas,core,phrases)!: add type in connector schema and sync to DB * chore(core): fix code about connector type
10 lines
335 B
SQL
10 lines
335 B
SQL
create type connector_type as enum ('Email', 'SMS', 'Social');
|
|
|
|
create table connectors (
|
|
id varchar(128) not null,
|
|
type connector_type not null,
|
|
enabled boolean not null default TRUE,
|
|
config jsonb /* @use ArbitraryObject */ not null default '{}'::jsonb,
|
|
created_at timestamptz not null default(now()),
|
|
primary key (id)
|
|
);
|