0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/schemas/tables/connectors.sql

11 lines
341 B
MySQL
Raw Normal View History

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)
);