fix: gen-migrations workflow
Some checks failed
gen-migrations / gen-migrations (push) Failing after 8s
Some checks failed
gen-migrations / gen-migrations (push) Failing after 8s
This commit is contained in:
parent
a1f87b84b8
commit
6f08ab4201
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user