DB/SAI: fix more startup errors

Updates https://github.com/TrinityCore/TrinityCore/issues/13256