# scripts/apply_migrations_lab.sh
set -e
DB_URL="postgres://postgres:veza@localhost:5435/veza_uuid_lab?sslmode=disable"

for f in migrations/*.sql; do
    echo "Applying $f"
    psql "$DB_URL" -f "$f"
done

