- Problem editing user model (Boolean values not set)

This commit is contained in:
Josako
2025-11-17 10:43:21 +01:00
parent 95c8282eb8
commit 78043ab3ef
4 changed files with 14 additions and 18 deletions

View File

@@ -24,6 +24,7 @@ class Database:
"""
schema = session.info.get("tenant_schema")
if schema:
current_app.logger.debug(f"DBCTX tx_begin schema={schema}")
try:
connection.exec_driver_sql(f'SET LOCAL search_path TO "{schema}", public')
# Optional visibility/logging for debugging