Files
drivers_bot/scripts/check_migrations.sh
VPN SaaS Dev 83ad880b9d
Some checks failed
ci / test (push) Has been cancelled
Mechanic's work place
2026-05-16 10:04:56 +09:00

10 lines
245 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
echo "Checking Alembic migration chain..."
python -m alembic heads
python -m alembic current || true
python -m alembic upgrade head
python -m alembic current
echo "Alembic migrations applied successfully."