Skip to content

Commit

Permalink
remove comment flag
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienheureux committed Jul 22, 2024
1 parent 327bc03 commit 9801e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/restore_prod_to_preprod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ tar --extract --verbose --file="${ARCHIVE_NAME}"
for table in $(psql "${PREPROD_DATABASE_URL}" -t -c "SELECT \"tablename\" FROM pg_tables WHERE schemaname='public'"); do
psql "${PREPROD_DATABASE_URL}" -c "DROP TABLE IF EXISTS \"${table}\" CASCADE;"
done
pg_restore --clean --if-exists --no-acl --no-owner --no-privileges --no-comments --dbname "${PREPROD_DATABASE_URL}" ${backup_file_name}
pg_restore --clean --no-acl --no-owner --no-privileges --dbname "${PREPROD_DATABASE_URL}" ${backup_file_name}

0 comments on commit 9801e6a

Please sign in to comment.