[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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 1 deletions

View File

@ -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{

View File

@ -42,7 +42,7 @@
* Manifest: https://github.com/EQEmu/Server/blob/master/utils/sql/db_update_manifest.txt
*/
#define CURRENT_BINARY_DATABASE_VERSION 9264
#define CURRENT_BINARY_DATABASE_VERSION 9265
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 9043
#endif