fix: gen-migrations workflow
Some checks failed
gen-migrations / gen-migrations (push) Failing after 17s

This commit is contained in:
Orion Kindel
2023-07-19 18:14:37 -05:00
parent 5e39afbf77
commit 28b6544975
2 changed files with 3 additions and 2 deletions

View File

@@ -14,8 +14,8 @@ fi;
migration="./migrations/${base}_to_${head}.sql"
base_url=postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/dnim
head_url=postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5433/dnim
base_url="postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/dnim"
head_url="postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5433/dnim"
if [[ -z "$base" ]] || [[ -z "$head" ]]; then
echo "revisions to diff are required ex. ./scripts/diff.sh abc bcd" 1>&2;