We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0572217 commit 47b8887Copy full SHA for 47b8887
nix/tools/dbmate-tool.sh.in
@@ -187,9 +187,9 @@ perform_dump() {
187
local attempt=1
188
189
while [ $attempt -le $max_attempts ]; do
190
- echo "Attempting dbmate dump (attempt $attempt/$max_attempts)"
+ echo "Attempting pg_dump (attempt $attempt/$max_attempts)"
191
192
- if dbmate dump; then
+ if "${PSQLBIN}/pg_dump" -h localhost -p "$PORTNO" -U "$PGSQL_SUPERUSER" -d postgres --schema-only --no-owner --no-privileges > "./db/schema.sql"; then
193
return 0
194
fi
195
0 commit comments