fix: gen-migrations workflow
Some checks failed
gen-migrations / gen-migrations (push) Failing after 10s
Some checks failed
gen-migrations / gen-migrations (push) Failing after 10s
This commit is contained in:
parent
cda6320977
commit
72e1e0ef09
@ -15,14 +15,13 @@ else
|
||||
fi
|
||||
|
||||
docker compose rm -vsf "$base_or_head"
|
||||
until ! pg_isready -q -p "$port"; do true; done;
|
||||
|
||||
db() {
|
||||
echo -n "postgresql:///$1?port=$port&user=$POSTGRES_USER&password=$POSTGRES_PASSWORD"
|
||||
}
|
||||
|
||||
isready() {
|
||||
until pg_isready -q -p "$port"; do true; done;
|
||||
until psql $(db postgres) -c "select 1"; do true; done;
|
||||
}
|
||||
|
||||
initdb() {
|
||||
|
Loading…
Reference in New Issue
Block a user