Rochet2 / TrinityCore

Rochet2's stuff for TC
https://rochet2.github.io
89 stars 144 forks source link

Move hotfix creation SQL to auto updater for CI #143

Closed Rochet2 closed 1 year ago

Rochet2 commented 1 year ago

The database is created by auto updater, but the auto updater fails to create prepared statements and crashes as the SQL creating the npc_sounds table must be run manually, which can be done only once the auto updater has been run once and has crashed. This is problematic for CI as the program must crash once during "normal" installation process.

This PR moves the npc_sounds table creation for the auto updater to handle, avoiding crashing.