fix: gen-migrations workflow
Some checks reported warnings
gen-migrations / gen-migrations (push) Has been cancelled

This commit is contained in:
Orion Kindel 2023-07-19 20:23:12 -05:00
parent 835faa5f84
commit 3e575635c5
Signed by untrusted user who does not match committer: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -60,12 +60,5 @@ cd "./$base_or_head"
docker compose up -d "$base_or_head" 1>/dev/null
isready
initdb || (
cd "./$base_or_head"
docker compose logs "$base_or_head"
)
ls ./schema/ | xargs -I{} bash -c "set -e; $(declare -f query_file); query_file \"$(db dnim)\" ./schema/{}" || \
(
cd "./$base_or_head"
docker compose logs "$base_or_head"
)
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"