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
Darcy Ye 8a7a9e418e
feat: update connectors table and load connector logic (#2468)
Co-authored-by: wangsijie <wangsijie@silverhand.io>
2022-11-18 12:06:53 +08:00

10 lines
413 B
SQL

create table connectors (
id varchar(128) not null,
enabled boolean not null default FALSE,
sync_profile boolean not null default FALSE,
connector_id varchar(128) not null,
config jsonb /* @use ArbitraryObject */ not null default '{}'::jsonb,
metadata jsonb /* @use ConfigurableConnectorMetadata */ not null default '{}'::jsonb,
created_at timestamptz not null default(now()),
primary key (id)
);