Mechanic's work place
Some checks failed
ci / test (push) Has been cancelled

This commit is contained in:
VPN SaaS Dev
2026-05-16 10:04:56 +09:00
parent fec9635079
commit 83ad880b9d
39 changed files with 2951 additions and 74 deletions

9
scripts/check_migrations.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/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."