Adding source_ids column if not exists. (#1600)

Adding source_ids column if not exist in the table 
 - osm_transportation_merge_linestring_gen_z11
 - osm_transportation_merge_linestring_gen_z8
 - osm_transportation_name_linestring
 - osm_important_waterway_linestring
This commit is contained in:
Tomas Pohanka
2024-01-16 14:03:46 +01:00
committed by GitHub
parent a682d50d0d
commit eb7f6be455
3 changed files with 8 additions and 0 deletions

View File

@@ -61,6 +61,8 @@ CREATE TABLE IF NOT EXISTS osm_transportation_name_linestring(
route_rank integer
);
ALTER TABLE osm_transportation_name_linestring ADD COLUMN IF NOT EXISTS source_ids bigint[];
-- Create OneToMany-Relation-Table storing relations of a Merged-LineString in table
-- osm_transportation_name_linestring to Source-LineStrings from tables osm_transportation_name_network,
-- osm_shipway_linestring and osm_aerialway_linestring