TrinityCore

Scripting → database Relation

File in server/game/ScriptingIncludes file in server/database
ScriptSystem.cppDatabase / DatabaseEnv.h