dont delete open_toid table

This commit is contained in:
Ed Chalstrey 2022-04-04 14:18:23 +01:00
parent 50f07b854b
commit ee59455dca

View File

@ -7,7 +7,7 @@
opentoid_dir=$1
echo "Creating a temporary table for coordinates..."
echo "Creating table for open_toid coordinates..."
psql -c "CREATE TABLE open_toid (
toid varchar,
version_number float,
@ -31,7 +31,4 @@ psql -c "UPDATE buildings
location_longitude = open_toid.longitude
FROM open_toid
WHERE open_toid.toid = buildings.ref_toid
;"
# Delete the temporary table
psql -c "DROP TABLE open_toid;"
;"