fix: gen-migrations workflow
Some checks reported warnings
gen-migrations / gen-migrations (push) Has been cancelled
Some checks reported warnings
gen-migrations / gen-migrations (push) Has been cancelled
This commit is contained in:
parent
3a14f001f6
commit
d0526f0426
@ -26,7 +26,7 @@ initdb() {
|
||||
}
|
||||
|
||||
if [[ "$rev" = "empty" ]]; then
|
||||
docker compose up -d "$base_or_head"
|
||||
docker compose up --wait -d "$base_or_head"
|
||||
initdb
|
||||
exit 0
|
||||
fi
|
||||
@ -39,7 +39,7 @@ cp docker-compose.yml "./$base_or_head/docker-compose.yml"
|
||||
cp .env.schema "./$base_or_head/.env.schema"
|
||||
|
||||
cd "./$base_or_head"
|
||||
docker compose up -d "$base_or_head"
|
||||
docker compose up --wait -d "$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)
|
||||
|
Loading…
Reference in New Issue
Block a user