Skip to content

Commit

Permalink
test: fix broken integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jvandaal authored and ArneD committed Jul 29, 2024
1 parent a3a4002 commit 0e490de
Showing 1 changed file with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ geometry geometry
version_timestamp TIMESTAMP WITH TIME ZONE,
is_removed BOOL,
geometry geometry,
status TEXT
status TEXT,
function TEXT
);";
await using var createBuildingUnitTable = new NpgsqlCommand(sql, NpgsqlConnection);
await createBuildingUnitTable.ExecuteNonQueryAsync();
Expand Down Expand Up @@ -232,6 +233,20 @@ is_removed boolean
);";
await using var createParcelTable = new NpgsqlCommand(sql, NpgsqlConnection);
await createParcelTable.ExecuteNonQueryAsync();

sql =
@$"CREATE TABLE IF NOT EXISTS {SchemaLatestItems.RoadSegment} (
id integer,
maintainer_id integer,
left_side_street_name_id integer,
right_side_street_name_id integer,
method_id integer,
status_id integer,
is_removed boolean,
version_timestamp TIMESTAMP WITH TIME ZONE
);";
await using var createRoadSegmentTable = new NpgsqlCommand(sql, NpgsqlConnection);
await createRoadSegmentTable.ExecuteNonQueryAsync();
}

public async Task DisposeAsync()
Expand Down

0 comments on commit 0e490de

Please sign in to comment.