2022-01-09 23:24:22 -05:00
|
|
|
create table connectors (
|
|
|
|
id varchar(128) not null,
|
2022-05-11 23:17:17 -05:00
|
|
|
target varchar(64) not null,
|
|
|
|
platform varchar(64),
|
2022-04-06 02:34:18 -05:00
|
|
|
enabled boolean not null default FALSE,
|
2022-02-27 22:22:48 -05:00
|
|
|
config jsonb /* @use ArbitraryObject */ not null default '{}'::jsonb,
|
2022-01-09 23:24:22 -05:00
|
|
|
created_at timestamptz not null default(now()),
|
2022-01-24 01:40:15 -05:00
|
|
|
primary key (id)
|
2022-01-09 23:24:22 -05:00
|
|
|
);
|
2022-05-11 23:17:17 -05:00
|
|
|
|
|
|
|
create index connectors__target_platform on connectors (target, platform);
|