Fix: Call _run_config_migrations from _initialize_database to ensure...

Fix: Call _run_config_migrations from _initialize_database to ensure user_cache_settings table is created
parent 01f1c32c
......@@ -3912,6 +3912,10 @@ def DatabaseManager__initialize_database(self):
#
# logger.info("⚠️ CACHE DATABASE: Only minimal cache tables created - NO USER TABLES")
# Run configuration database migrations if this is a CONFIG database
if self.database_type == DatabaseRegistry.TYPE_CONFIG:
self._run_config_migrations(cursor, auto_increment, timestamp_default, boolean_type)
conn.commit()
logger.info(f"Database tables initialized successfully for {self.database_type} database")
......
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