feat: datenmodell für benutzer, sessions und login-versuche

- Tabellen users, sessions, login_attempts (Migration 0002)
- UTCDateTime speichert UTC in SQLite und liefert aware datetimes
- Tests legen das Schema über die echten Migrationen an
- Test prüft, dass Migrationen und Modelle übereinstimmen

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dbildhauerandClaude Opus 5.5 committed 2026-10-25 11:04:33 +01:00
1 parent d9b7baf788
commit d4cf8bdddd
12 files changed
+283 -11

No files matched your search

+4
View File
@@ -10,6 +10,7 @@ dependencies = [
"alembic>=1.14",
"pydantic>=2.10",
"pydantic-settings>=2.6",
"argon2-cffi>=23.1",
]
[project.optional-dependencies]
@@ -19,6 +20,9 @@ dev = [
"ruff>=0.8",
]
[project.scripts]
lc-admin = "app.cli:main"
[build-system]
requires = ["setuptools>=75"]
build-backend = "setuptools.build_meta"