Skip to content

Commit

Permalink
fix new url
Browse files Browse the repository at this point in the history
  • Loading branch information
coffee-cup committed Nov 3, 2023
1 parent aa7ebd6 commit a3cd95e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ echo "Dump file size: $dump_file_size"
section "Restoring database to NEW_URL"

# Delete the _timescaledb_catalog.metadata row that contains the exported_uuid to avoid conflicts
psql $DATABASE_URL -c "DELETE FROM _timescaledb_catalog.metadata WHERE key = 'exported_uuid';"
psql $NEW_URL -c "DELETE FROM _timescaledb_catalog.metadata WHERE key = 'exported_uuid';"

# Restore that data to the new database
psql $NEW_URL -v ON_ERROR_STOP=1 --echo-errors \
Expand Down

0 comments on commit a3cd95e

Please sign in to comment.