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

This commit is contained in:
Orion Kindel 2023-07-19 18:49:37 -05:00
parent a1f87b84b8
commit 6f08ab4201
Signed by untrusted user who does not match committer: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -39,8 +39,8 @@ isready() {
initdb() {
dropdb=$(mktemp)
echo "drop database dnim with (force);" > "$dropdb"
psql --quiet "$url/postgres" -f "$dropdb" &>/dev/null || true
psql --quiet "$url/postgres" -c "create database dnim" &>/dev/null
psql --quiet "$url/postgres" -f "$dropdb" || true
psql --quiet "$url/postgres" -c "create database dnim"
}
if [[ "$rev" = "empty" ]]; then