Files
ss-tools/docker
busya d870fe18d3 fix: run Alembic migrations in entrypoint before bootstrap_admin
The entrypoint was calling init_auth_db.py → init_db() + seed_permissions()
before the FastAPI startup_event (where run_alembic_migrations() lived).
Since the _ensure_*() safety net was removed, seed_permissions() failed
with 'column roles.is_admin does not exist' on databases with old schema.

Now alembic upgrade head runs directly in the entrypoint, ensuring all
migrations are applied before any DB queries.
2026-05-26 19:41:45 +03:00
..
2026-05-26 09:30:41 +03:00
2026-05-26 09:30:41 +03:00
2026-05-20 09:59:03 +03:00
2026-05-20 09:59:03 +03:00