From 52f045c404c41788f38392405a4d0025fed9b9bd Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Mon, 4 Apr 2022 13:48:08 +0100 Subject: [PATCH] fix missing table --- etl/load_coordinates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etl/load_coordinates.sh b/etl/load_coordinates.sh index adbf7a36..25942ef4 100644 --- a/etl/load_coordinates.sh +++ b/etl/load_coordinates.sh @@ -30,7 +30,7 @@ psql -c "UPDATE buildings SET location_latitude = open_toid.latitute, location_longitude = open_toid.longitude FROM open_toid - WHERE open_toid.toid = b.ref_toid + WHERE open_toid.toid = buildings.ref_toid ;" # Delete the temporary table