mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
bf165644c9
* chore: add boolean type for postgres * chore: remove bool * feat: connector DB * fix: remove identifier * chore: genenrate * chore: remove data * chore: todo * chore: test TODO
10 lines
341 B
SQL
10 lines
341 B
SQL
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)
|
|
);
|