feat: add Alembic database migrations

Replace create_all() startup approach with Alembic for proper schema
versioning. Includes initial migration for users and evotor_connections
tables, entrypoint script that runs migrations before starting uvicorn.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mguschin
2026-03-06 12:26:41 +03:00
parent 865798967a
commit 9edb77efba
10 changed files with 195 additions and 8 deletions

View File

@@ -10,3 +10,4 @@ bcrypt==4.2.0
pydantic-settings==2.5.2
itsdangerous==2.1.2
httpx==0.27.2
alembic==1.13.3