From 8d59610cd76bb77698f8da41b8198eaddd7e5e91 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Sun, 22 Nov 2020 06:13:40 +0100 Subject: [PATCH] refactor(DB/player_factionchange_titles): Add comment section (#3138) --- .../rev_1592648244203077800.sql | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1592648244203077800.sql diff --git a/data/sql/updates/pending_db_world/rev_1592648244203077800.sql b/data/sql/updates/pending_db_world/rev_1592648244203077800.sql new file mode 100644 index 000000000..9db9bad6a --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1592648244203077800.sql @@ -0,0 +1,30 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1592648244203077800'); + +ALTER TABLE `player_factionchange_titles` + ADD `alliance_comment` TEXT AFTER `alliance_id`, + ADD `horde_comment` TEXT AFTER `horde_id`; + +DELETE FROM `player_factionchange_titles` WHERE `alliance_id` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,48,75,113,126,146,147,148,149) AND `horde_id` IN (15,16,17,18,19,20,21,22,23,24,25,26,27,28,47,76,153,127,152,154,151,150); +INSERT INTO `player_factionchange_titles` (`alliance_id`, `alliance_comment`, `horde_id`, `horde_comment`) VALUES +(1, "Private ", 15, "Scout "), +(2, "Corporal ", 16, "Grunt "), +(3, "Sergeant ", 17, "Sergeant "), +(4, "Master Sergeant ", 18, "Senior Sergeant "), +(5, "Sergeant Major ", 19, "First Sergeant "), +(6, "Knight ", 20, "Stone Guard"), +(7, "Knight-Lieutenant ", 21, "Blood Guard "), +(8, "Knight-Captain ", 22, "Legionnaire "), +(9, "Knight-Champion ", 23, "Centurion "), +(10, "Lieutenant Commander ", 24, "Champion "), +(11, "Commander ", 25, "Lieutenant General "), +(12, "Marshal ", 26, "General "), +(13, "Field Marshal ", 27, "Warlord "), +(14, "Grand Marshal ", 28, "High Warlord "), +(48, "Justicar ", 47, "Conqueror "), +(75, "Flame Warden ", 76, "Flame Keeper "), +(113, " of Gnomeregan", 153, " of Thunder Bluff"), +(126, " of the Alliance", 127, " if the Horde"), +(146, " of the Exodar", 152, " of Silvermoon"), +(147, " of Darnassus", 154, " of the Undercity"), +(148, " of Ironforge", 151, " of Sen'jin"), +(149, " of Stormwind", 150, " of Orgrimmar");