Skip to content

Commit a3a6501

Browse files
authored
declare id NOT NULL so that it can be used as a cursor for incremental syncs in tests (#15774)
1 parent 89ed13e commit a3a6501

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

airbyte-tests/src/acceptanceTests/resources/postgres_init.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CREATE
22
TABLE
33
id_and_name(
4-
id INTEGER,
4+
id INTEGER NOT NULL,
55
name VARCHAR(200)
66
);
77

airbyte-tests/src/acceptanceTests/resources/postgres_second_schema_multiple_tables.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CREATE
44
CREATE
55
TABLE
66
staging.cool_employees(
7-
id INTEGER,
7+
id INTEGER NOT NULL,
88
name VARCHAR(200)
99
);
1010

@@ -38,7 +38,7 @@ INSERT
3838
CREATE
3939
TABLE
4040
staging.awesome_people(
41-
id INTEGER,
41+
id INTEGER NOT NULL,
4242
name VARCHAR(200)
4343
);
4444

airbyte-tests/src/acceptanceTests/resources/postgres_separate_schema_same_table.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CREATE
44
CREATE
55
TABLE
66
staging.id_and_name(
7-
id INTEGER,
7+
id INTEGER NOT NULL,
88
name VARCHAR(200)
99
);
1010

0 commit comments

Comments
 (0)