[Tradeskills] Add learned_by_item_id field (#3637)

This commit is contained in:
Chris Miles 2023-10-18 18:27:34 -05:00 committed by GitHub
parent a4f2ed28f1
commit 3b95601c62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -4956,6 +4956,17 @@ ALTER TABLE `items`
MODIFY COLUMN `augdistiller` INT(11) UNSIGNED NOT NULL DEFAULT 0,
MODIFY COLUMN `scrollunk1` INT(11) UNSIGNED NOT NULL DEFAULT 0,
MODIFY COLUMN `bardeffect` MEDIUMINT(6) NOT NULL DEFAULT 0;
)"
},
ManifestEntry{
.version = 9238,
.description = "2023_10_18_tradeskill_add_learned_by_item_id.sql",
.check = "SHOW COLUMNS FROM `tradeskill_recipe` LIKE 'learned_by_item_id'",
.condition = "empty",
.match = "",
.sql = R"(
ALTER TABLE `tradeskill_recipe`
ADD COLUMN `learned_by_item_id` int(11) NOT NULL DEFAULT 0 AFTER `must_learn`;
)"
},

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 9237
#define CURRENT_BINARY_DATABASE_VERSION 9238
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 9040