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 0467601 commit 707950aCopy full SHA for 707950a
bin/runmigration
@@ -73,8 +73,8 @@ fi
73
74
migrate
75
76
-# Create a dump if none exist for the current VERSION
77
-if [ "$CREATE_DB_CACHE" == "true" -a ! -f "$CACHED_DUMP" ]; then
+# Create a dump if required
+if [ "$CREATE_DB_CACHE" == "true" ]; then
78
echo "Save DB to cache $CACHED_DUMP 🐘⮕ 📦"
79
mkdir -p "$CACHE_DIR"
80
pg_dump -Fp -O -f "$CACHED_DUMP"
0 commit comments