We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a60b23 commit a54291aCopy full SHA for a54291a
Makefile
@@ -118,6 +118,7 @@ dump_soil_id_db:
118
pg_dump --format=custom $(DATABASE_URL) -t hwsd2_segment -t hwsd2_data -t landpks_munsell_rgb_lab -t normdist2 -f $(DATABASE_DUMP_FILE)
119
120
restore_soil_id_db:
121
- pg_restore --dbname=$(DATABASE_URL) --single-transaction --clean --if-exists --no-owner $(DATABASE_DUMP_FILE)
+ psql $(DATABASE_URL) -c "CREATE EXTENSION IF NOT EXISTS postgis;"
122
+ pg_restore --dbname=$(DATABASE_URL) --clean --if-exists --no-owner --verbose $(DATABASE_DUMP_FILE)
123
psql $(DATABASE_URL) -c "CLUSTER hwsd2_segment USING hwsd2_segment_shape_idx;"
124
psql $(DATABASE_URL) -c "ANALYZE;"
0 commit comments