fix: build should work locally
All checks were successful
gen-migrations / gen-migrations (push) Successful in 9s

This commit is contained in:
Orion Kindel 2023-07-21 12:38:43 -05:00
parent 65f7926805
commit 885e22cc94
Signed by untrusted user who does not match committer: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -50,6 +50,9 @@ fi
docker compose up --wait --wait-timeout 30 -d "${base_or_head:-head}"
initdb
ls ./schema/ | xargs -I{} bash -c "set -e; $(declare -f query_file); query_file \"$(db dnim)\" ./schema/{}"
cd ../
if [[ -n "$rev" ]]; then
cd ../
fi
query_file $(db dnim) ./migrations/ensure_seeded.sql