"Refactor database schema for improved performance: feat(database) - WAL integration and template updates"

This commit is contained in:
2025-05-29 19:27:43 +02:00
parent efbb54c1e2
commit f4fbf92055
4 changed files with 19 additions and 2 deletions

View File

@@ -291,6 +291,7 @@ class User(UserMixin, Base):
last_login = Column(DateTime, nullable=True) # Letzter Login-Zeitstempel
updated_at = Column(DateTime, default=datetime.now, onupdate=datetime.now) # Automatische Aktualisierung
settings = Column(Text, nullable=True) # JSON-String für Benutzereinstellungen
last_activity = Column(DateTime, default=datetime.now)
# Zusätzliche Profil-Felder für bessere Benutzerverwaltung
department = Column(String(100), nullable=True) # Abteilung