From 3ef990ae2df1bb240b69edc98659ec798124f405 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Thu, 14 Apr 2022 14:21:55 +0100 Subject: [PATCH] tidy --- etl/create_building_records.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etl/create_building_records.sh b/etl/create_building_records.sh index bc014128..7d273c94 100755 --- a/etl/create_building_records.sh +++ b/etl/create_building_records.sh @@ -6,4 +6,6 @@ # doc: {}, # geom_id: # -psql -c "INSERT INTO buildings ( geometry_id, ref_toid ) SELECT geometry_id, source_id from geometries;" +psql -c "INSERT INTO buildings ( geometry_id, ref_toid ) + SELECT geometry_id, source_id + FROM geometries;"