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

11 lines
335 B
MySQL
Raw Normal View History

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