From ff3cd08189192a92ecf46d052bb55d3369ff6ead Mon Sep 17 00:00:00 2001 From: neckkola <65987027+neckkola@users.noreply.github.com> Date: Sun, 13 Feb 2022 11:56:13 -0400 Subject: [PATCH] Added bot_db_updates and version increment --- utils/sql/git/bots/bots_db_update_manifest.txt | 1 + utils/sql/git/bots/required/2022_02_08_bots_raid_members.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 utils/sql/git/bots/required/2022_02_08_bots_raid_members.sql diff --git a/utils/sql/git/bots/bots_db_update_manifest.txt b/utils/sql/git/bots/bots_db_update_manifest.txt index 221020683..114ee942a 100644 --- a/utils/sql/git/bots/bots_db_update_manifest.txt +++ b/utils/sql/git/bots/bots_db_update_manifest.txt @@ -27,6 +27,7 @@ 9026|2019_09_09_bots_owner_options_rework.sql|SHOW COLUMNS FROM `bot_owner_options` LIKE 'option_type'|empty| 9027|2020_03_30_bots_view_update.sql|SELECT * FROM db_version WHERE bots_version >= 9027|empty| 9028|2021_06_04_bot_create_combinations.sql|SHOW TABLES LIKE 'bot_create_combinations'|empty| +9029|2022_02_08_bots_raid_members.sql|SELECT * FROM db_version WHERE bots_version >= 9028|empty| # Upgrade conditions: # This won't be needed after this system is implemented, but it is used database that are not diff --git a/utils/sql/git/bots/required/2022_02_08_bots_raid_members.sql b/utils/sql/git/bots/required/2022_02_08_bots_raid_members.sql new file mode 100644 index 000000000..1f80a1a29 --- /dev/null +++ b/utils/sql/git/bots/required/2022_02_08_bots_raid_members.sql @@ -0,0 +1 @@ +ALTER TABLE `raid_members` ADD COLUMN `isbot` TINYINT(1) NOT NULL DEFAULT 0 COMMENT ''; \ No newline at end of file