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