fix: gen-migrations workflow
Some checks failed
gen-migrations / gen-migrations (push) Failing after 9s
Some checks failed
gen-migrations / gen-migrations (push) Failing after 9s
This commit is contained in:
parent
0eb9b42ad1
commit
2c288ef32f
@ -18,7 +18,7 @@ docker compose stop "$base_or_head" 1>/dev/null
|
|||||||
docker compose rm -f "$base_or_head" 1>/dev/null
|
docker compose rm -f "$base_or_head" 1>/dev/null
|
||||||
|
|
||||||
db() {
|
db() {
|
||||||
echo -n "postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD/$1?port=$port"
|
echo -n "postgresql:///$1?port=$port&user=$POSTGRES_USER&password=$POSTGRES_PASSWORD"
|
||||||
}
|
}
|
||||||
|
|
||||||
isready() {
|
isready() {
|
||||||
|
@ -15,7 +15,7 @@ fi;
|
|||||||
migration="./migrations/${base}_to_${head}.sql"
|
migration="./migrations/${base}_to_${head}.sql"
|
||||||
|
|
||||||
db() {
|
db() {
|
||||||
echo -n "postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD/dnim?port=$1"
|
echo -n "postgresql:///dnim?port=$1&user=$POSTGRES_USER&password=$POSTGRES_PASSWORD"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ -z "$base" ]] || [[ -z "$head" ]]; then
|
if [[ -z "$base" ]] || [[ -z "$head" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user