Files
ss-tools/docker
busya 1a57f33606 fix: handle legacy databases in entrypoint Alembic migration
Three-way detection in entrypoint:
  - alembic_version exists → normal incremental upgrade
  - no tables → fresh upgrade from scratch
  - tables exist but no alembic_version → stamp head (legacy DB created
    by create_all(), mark all migrations as current without running them)

This fixes 'relation already exists' errors when Alembic tries to CREATE
TABLE on databases that already have tables from previous deployments.
2026-05-26 19:58:31 +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