Fix: Remove conn.commit() from migration as it's called by the caller

parent f3e6a719
......@@ -4091,7 +4091,7 @@ def DatabaseManager__run_config_migrations(self, cursor, auto_increment, timesta
logger.info(f"✅ Cleaned up {len(delete_ids)} duplicate cache settings for user {user_id}, kept id={keep_id}")
conn.commit()
# Note: conn.commit() will be called by the caller after all migrations
else:
logger.info("No duplicate cache settings found")
except Exception as e:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment