feat: add database models with cascade delete

Implements SQLAlchemy 2.0 async ORM models (Config, Subscription, ExportLog) with cascade delete-orphan relationships. Upgrades SQLAlchemy to 2.0.49 for Python 3.14 compatibility. Adds pytest conftest with in-memory SQLite fixture; all 4 TDD tests pass.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-14 23:35:50 +03:00
parent e8b0c3ce0f
commit 927abe6111
4 changed files with 152 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
fastapi==0.115.5
uvicorn[standard]==0.32.1
sqlalchemy[asyncio]==2.0.36
sqlalchemy[asyncio]==2.0.49
aiosqlite==0.20.0
httpx==0.28.0
pyyaml==6.0.2