CHORE: remove debug temporário do workflow de migrations
All checks were successful
Deploy Dev / Deploy para VM Dev (push) Successful in 7s

This commit is contained in:
Rafael Alves Lopes 2026-07-22 10:29:05 -03:00
parent b2a0ff3a9c
commit 41dec8ff45

View File

@ -61,12 +61,6 @@ jobs:
PGHOST="${PGHOST//[$'\t\r\n ']}"
PGPORT="${PGPORT//[$'\t\r\n ']}"
export PGHOST PGPORT
echo "Bytes PGHOST: $(echo -n "$PGHOST" | wc -c)"
echo "Bytes PGPORT: $(echo -n "$PGPORT" | wc -c)"
echo "Testando TCP..."
timeout 5 bash -c "cat /dev/null > /dev/tcp/${PGHOST}/${PGPORT}" \
&& echo "TCP OK" \
|| { echo "TCP FALHOU — host/porta inacessível"; exit 1; }
echo "Aplicando migrations..."
for f in $(ls "$DEPLOY_PATH/database/migrations/"*.sql | sort); do
echo "Aplicando: $(basename "$f")"