From 43d2f5994473e39a28753c385f5aca84e0ecd4bf Mon Sep 17 00:00:00 2001 From: Orion Kindel Date: Thu, 20 Jul 2023 13:21:29 -0500 Subject: [PATCH] fix: gen-migrations --- scripts/diff.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/diff.sh b/scripts/diff.sh index 991ccd8..b17603a 100755 --- a/scripts/diff.sh +++ b/scripts/diff.sh @@ -35,9 +35,6 @@ if [[ ! -f "$migration" ]]; then ./scripts/build.sh base "$base" 1>&2 || (echo "base failed to build" && exit 1) ./scripts/build.sh head "$head" 1>&2 || (echo "head failed to build" && exit 1) - until pg_isready --quiet -U "$POSTGRES_USER" -p 5432 && \ - pg_isready --quiet -U "$POSTGRES_USER" -p 5433; do true; done; - migra --unsafe "$(db 5432)" "$(db 5433)" || echo "migra exited with code $?. this is /probably/ fine" 1>&2 else cat "$migration"