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
Darcy Ye 9dc0ea32c0
feat(connector): connector queries and APIs (#178)
* feat(connector): connector queries and APIs

* chore(connectors): remove type from DB schema design and fix code accordingly

* chore(connectors): put connector as ConnectorInstance's property

* chore(connector): put connector as optional property of ConnectorInstance
2022-01-24 14:40:15 +08:00

7 lines
239 B
SQL

create table connectors (
id varchar(128) not null,
enabled boolean not null default TRUE,
config jsonb /* @use ConnectorConfig */ not null default '{}'::jsonb,
created_at timestamptz not null default(now()),
primary key (id)
);