Skip to content

Commit 40cecd6

Browse files
committed
extra ops for restpre
1 parent 58b01a7 commit 40cecd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/restore.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ gzip -d db$file_type
4040
conn_opts="-d $DATABASE_URL"
4141

4242
echo "Restoring from backup..."
43-
pg_restore $conn_opts --clean --if-exists db.dump
43+
pg_restore $PGRESTORE_EXTRA_OPTS $conn_opts --clean --if-exists db.dump
4444
rm db.dump
4545

4646
echo "Restore complete."

0 commit comments

Comments
 (0)