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 20:42:19 -05:00
parent 629bc32059
commit 533493e7f0
Signed by untrusted user who does not match committer: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -60,5 +60,5 @@ cd "./$base_or_head"
docker compose up -d "$base_or_head"
isready
initdb || docker compose logs "$base_or_head"
ls ./schema/ | xargs -I{} bash -c "set -e; $(declare -f query_file); query_file \"$(db dnim)\" ./schema/{}" || docker compose logs "$base_or_head"
initdb || (docker compose logs "$base_or_head" && exit 1)
ls ./schema/ | xargs -I{} bash -c "set -e; $(declare -f query_file); query_file \"$(db dnim)\" ./schema/{}" || (docker compose logs "$base_or_head" && exit 1)