From 91f8fe892575bfcc874804b4bf755d4bdf02f7e6 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Mon, 28 Feb 2022 12:52:09 +0100 Subject: [PATCH] Setup/Mails * add lost world db dependencies to script --- setup/tools/sqlgen/mailtemplate.func.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 {