Title: 🎉 Improved Code Organization and Enhanced Documentation in models.py

This commit is contained in:
2025-06-19 06:27:11 +02:00
parent 59fafc66e4
commit 94eba76dcb
206 changed files with 847 additions and 6 deletions

View File

@@ -54,8 +54,9 @@ def configure_sqlite_for_production(dbapi_connection, _connection_record):
"""
cursor = dbapi_connection.cursor()
# WAL-Modus aktivieren (Write-Ahead Logging)
cursor.execute("PRAGMA journal_mode=WAL")
# WAL-Modus aktivieren (Write-Ahead Logging) - Deaktiviert für WSL2-Kompatibilität
# cursor.execute("PRAGMA journal_mode=WAL")
cursor.execute("PRAGMA journal_mode=DELETE")
# Synchronous-Modus für bessere Performance bei WAL
cursor.execute("PRAGMA synchronous=NORMAL")