[Bug Fix] Add id to the guild_bank table (#4155)

* Add id to guild_bank table

Add id as a primary key to guild_bank

* Remove content schema update flag
This commit is contained in:
Mitch Freeman
2024-03-04 20:02:35 -04:00
committed by GitHub
parent 8c226054e7
commit add0a8dddf
2 changed files with 13 additions and 1 deletions
@@ -5410,6 +5410,18 @@ ADD COLUMN `augment_five` int(11) UNSIGNED NOT NULL DEFAULT 0 AFTER `augment_fou
ADD COLUMN `augment_six` int(11) UNSIGNED NOT NULL DEFAULT 0 AFTER `augment_five`;
)",
.content_schema_update = true
},
ManifestEntry{
.version = 9265,
.description = "2024_03_03_add_id_to_guild_bank.sql",
.check = "SHOW COLUMNS FROM `guild_bank` LIKE 'id'",
.condition = "empty",
.match = "",
.sql = R"(
ALTER TABLE `guild_bank`
ADD COLUMN `id` INT UNSIGNED NOT NULL AUTO_INCREMENT FIRST,
ADD PRIMARY KEY (`id`);
)",
}
// -- template; copy/paste this when you need to create a new entry
// ManifestEntry{