- Problem editing user model (Boolean values not set)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user