diff --git a/setup/tools/sqlgen/mailtemplate.func.php b/setup/tools/sqlgen/mailtemplate.func.php index 243c975f..5a8b3272 100644 --- a/setup/tools/sqlgen/mailtemplate.func.php +++ b/setup/tools/sqlgen/mailtemplate.func.php @@ -9,9 +9,10 @@ if (!CLI) SqlGen::register(new class extends SetupScript { - protected $command = 'mails'; + protected $command = 'mails'; - protected $dbcSourceFiles = ['mailtemplate']; + protected $tblDependencyTC = ['achievement_reward', 'achievement_reward_locale', 'mail_loot_template']; + protected $dbcSourceFiles = ['mailtemplate']; public function generate(array $ids = []) : bool {