[Database] Change npc_types walkspeed to be of type float (#4589)

* [Database] Change npc_types walkspeed to be of type float

* Update database_update_manifest.cpp
This commit is contained in:
Chris Miles
2025-01-07 13:46:32 -06:00
committed by GitHub
parent d89f9bdcc7
commit 03b30d5c7a
2 changed files with 12 additions and 1 deletions
@@ -5782,6 +5782,17 @@ CREATE INDEX idx_bot_expires ON data_buckets (bot_id, expires);
ALTER TABLE `trader`
ADD COLUMN `char_zone_instance_id` INT NULL DEFAULT '0' AFTER `char_zone_id`;
)"
},
ManifestEntry{
.version = 9287,
.description = "2024_11_26_bazaar_find_trader.sql",
.check = "SHOW COLUMNS FROM `npc_types` LIKE 'walkspeed'",
.condition = "missing",
.match = "float",
.sql = R"(
ALTER TABLE `npc_types` MODIFY COLUMN `walkspeed` float NOT NULL DEFAULT 0;
)",
.content_schema_update = true
}
// -- template; copy/paste this when you need to create a new entry
// ManifestEntry{