mirror of
https://github.com/uprightbass360/AzerothCore-RealmMaster.git
synced 2026-02-03 19:03:50 +00:00
Fixed critical bug in stage-module-sql.sh that prevented module SQL from being applied by AzerothCore's native updater. Problem: - Script was stripping 'db_' prefix from directory names - Created updates/world/ instead of updates/db_world/ - AzerothCore's dbimport couldn't find the SQL files - Result: [1146] table doesn't exist errors on deployment Solution: - Preserve full database type name (db_world, db_auth, etc.) - Stage SQL to correct AzerothCore directory structure - Verified against AC source code conventions Impact: - Critical for Phase 1 module SQL refactor - Enables proper SQL tracking in updates table - Prevents module initialization failures Testing: - Verified correct path: updates/db_world/ (not updates/world/) - Confirmed against AzerothCore source structure - Documented in docs/BUGFIX_SQL_STAGING_PATH.md Related: Phase 1 implementation (PHASE1_CONTEXT.md)