Skip to content

Commit 4ad7c97

Browse files
authored
Update schema dumps (#17960)
1 parent ace489c commit 4ad7c97

File tree

2 files changed

+0
-54
lines changed

2 files changed

+0
-54
lines changed

airbyte-db/db-lib/src/main/resources/configs_database/schema_dump.txt

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -86,25 +86,6 @@ create table "public"."airbyte_configs_migrations"(
8686
constraint "airbyte_configs_migrations_pk"
8787
primary key ("installed_rank")
8888
);
89-
create table "public"."airbyte_metadata"(
90-
"key" varchar(255) not null,
91-
"value" varchar(255) null,
92-
constraint "airbyte_metadata_pkey"
93-
primary key ("key")
94-
);
95-
create table "public"."attempts"(
96-
"id" int8 generated by default as identity not null,
97-
"job_id" int8 null,
98-
"attempt_number" int4 null,
99-
"log_path" varchar(255) null,
100-
"output" jsonb null,
101-
"status" any null,
102-
"created_at" timestamptz(35) null,
103-
"updated_at" timestamptz(35) null,
104-
"ended_at" timestamptz(35) null,
105-
constraint "attempts_pkey"
106-
primary key ("id")
107-
);
10889
create table "public"."connection"(
10990
"id" uuid not null,
11091
"namespace_definition" namespace_definition_type not null,
@@ -143,18 +124,6 @@ create table "public"."connection_operation"(
143124
"operation_id"
144125
)
145126
);
146-
create table "public"."jobs"(
147-
"id" int8 generated by default as identity not null,
148-
"config_type" any null,
149-
"scope" varchar(255) null,
150-
"config" jsonb null,
151-
"status" any null,
152-
"started_at" timestamptz(35) null,
153-
"created_at" timestamptz(35) null,
154-
"updated_at" timestamptz(35) null,
155-
constraint "jobs_pkey"
156-
primary key ("id")
157-
);
158127
create table "public"."operation"(
159128
"id" uuid not null,
160129
"workspace_id" uuid not null,
@@ -304,12 +273,6 @@ create index "actor_oauth_parameter_workspace_definition_idx" on "public"."actor
304273
);
305274
create unique index "airbyte_configs_migrations_pk" on "public"."airbyte_configs_migrations"("installed_rank" asc);
306275
create index "airbyte_configs_migrations_s_idx" on "public"."airbyte_configs_migrations"("success" asc);
307-
create unique index "airbyte_metadata_pkey" on "public"."airbyte_metadata"("key" asc);
308-
create unique index "attempts_pkey" on "public"."attempts"("id" asc);
309-
create unique index "job_attempt_idx" on "public"."attempts"(
310-
"job_id" asc,
311-
"attempt_number" asc
312-
);
313276
create index "connection_destination_id_idx" on "public"."connection"("destination_id" asc);
314277
create unique index "connection_pkey" on "public"."connection"("id" asc);
315278
create index "connection_source_id_idx" on "public"."connection"("source_id" asc);
@@ -319,7 +282,6 @@ create unique index "connection_operation_pkey" on "public"."connection_operatio
319282
"connection_id" asc,
320283
"operation_id" asc
321284
);
322-
create unique index "jobs_pkey" on "public"."jobs"("id" asc);
323285
create unique index "operation_pkey" on "public"."operation"("id" asc);
324286
create unique index "state__connection_id__stream_name__namespace__uq" on "public"."state"(
325287
"connection_id" asc,

airbyte-db/db-lib/src/main/resources/jobs_database/schema_dump.txt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22
// It is also not used by any piece of code to generate anything.
33
// It doesn't contain the enums created in the database and the default values might also be buggy.
44

5-
create table "public"."airbyte_configs"(
6-
"id" int8 generated by default as identity not null,
7-
"config_id" varchar(36) not null,
8-
"config_type" varchar(60) not null,
9-
"config_blob" jsonb not null,
10-
"created_at" timestamptz(35) not null default null,
11-
"updated_at" timestamptz(35) not null default null,
12-
constraint "airbyte_configs_pkey"
13-
primary key ("id")
14-
);
155
create table "public"."airbyte_jobs_migrations"(
166
"installed_rank" int4 not null,
177
"version" varchar(50) null,
@@ -96,12 +86,6 @@ alter table "public"."sync_stats"
9686
add constraint "sync_stats_attempt_id_fkey"
9787
foreign key ("attempt_id")
9888
references "public"."attempts" ("id");
99-
create index "airbyte_configs_id_idx" on "public"."airbyte_configs"("config_id" asc);
100-
create unique index "airbyte_configs_pkey" on "public"."airbyte_configs"("id" asc);
101-
create unique index "airbyte_configs_type_id_idx" on "public"."airbyte_configs"(
102-
"config_type" asc,
103-
"config_id" asc
104-
);
10589
create unique index "airbyte_jobs_migrations_pk" on "public"."airbyte_jobs_migrations"("installed_rank" asc);
10690
create index "airbyte_jobs_migrations_s_idx" on "public"."airbyte_jobs_migrations"("success" asc);
10791
create unique index "airbyte_metadata_pkey" on "public"."airbyte_metadata"("key" asc);

0 commit comments

Comments
 (0)