From fa8723b30f9e27e7f7ef2349f986863147a36a0c Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Fri, 8 Apr 2022 12:16:00 +0100 Subject: [PATCH] fix sql --- etl/load_coordinates.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/etl/load_coordinates.sh b/etl/load_coordinates.sh index 42634485..9b0e852a 100644 --- a/etl/load_coordinates.sh +++ b/etl/load_coordinates.sh @@ -36,9 +36,8 @@ psql -c "UPDATE buildings ;" # Add these columns here rather than in 001.core.up.sql for legacy reasons -psql -c "ALTER TABLE geometries - ADD longitude float - ADD latitude float;" +psql -c "ALTER TABLE geometries ADD longitude float;" +psql -c "ALTER TABLE geometries ADD latitude float;" echo "Updating the geometries table with coordinates..." psql -c "UPDATE geometries