feat: datenmodell für clips

- Tabelle clips mit Art (text/code), Titel, Inhalt, Sprache, angeheftet, version
- feste Sprachliste passend zu highlight.js (Migration 0003)

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 66fe8feea4
commit f1bfa27ba3
4 files changed
+123 -1

No files matched your search

+12 -1
View File
@@ -1,6 +1,17 @@
from app.models.base import Base, UTCDateTime, utcnow
from app.models.clip import Clip, ClipKind
from app.models.login_attempt import LoginAttempt
from app.models.session import UserSession
from app.models.user import Role, User
__all__ = ["Base", "LoginAttempt", "Role", "UTCDateTime", "User", "UserSession", "utcnow"]
__all__ = [
"Base",
"Clip",
"ClipKind",
"LoginAttempt",
"Role",
"UTCDateTime",
"User",
"UserSession",
"utcnow",
]