mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
11 lines
341 B
MySQL
11 lines
341 B
MySQL
|
create type connector_type as enum ('SMS', 'Email', 'Social');
|
||
|
|
||
|
create table connectors (
|
||
|
id varchar(128) not null,
|
||
|
enabled boolean not null default TRUE,
|
||
|
type connector_type not null,
|
||
|
config jsonb /* @use ConnectorConfig */ not null default '{}'::jsonb,
|
||
|
created_at timestamptz not null default(now()),
|
||
|
primary key (id, type)
|
||
|
);
|