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

This commit is contained in:
Orion Kindel 2023-07-19 19:05:36 -05:00
parent 0eb9b42ad1
commit 2c288ef32f
Signed by untrusted user who does not match committer: orion
GPG Key ID: 6D4165AE4C928719
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ docker compose stop "$base_or_head" 1>/dev/null
docker compose rm -f "$base_or_head" 1>/dev/null
db() {
echo -n "postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD/$1?port=$port"
echo -n "postgresql:///$1?port=$port&user=$POSTGRES_USER&password=$POSTGRES_PASSWORD"
}
isready() {

View File

@ -15,7 +15,7 @@ fi;
migration="./migrations/${base}_to_${head}.sql"
db() {
echo -n "postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD/dnim?port=$1"
echo -n "postgresql:///dnim?port=$1&user=$POSTGRES_USER&password=$POSTGRES_PASSWORD"
}
if [[ -z "$base" ]] || [[ -z "$head" ]]; then