Skip to content

Commit

Permalink
[Database] Change npc_types walkspeed to be of type float (EQEmu#4589)
Browse files Browse the repository at this point in the history
* [Database] Change npc_types walkspeed to be of type float

* Update database_update_manifest.cpp
  • Loading branch information
Akkadius authored and MortimerGreenwald committed Jan 27, 2025
1 parent dbf6468 commit ebbeaa1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions common/database/database_update_manifest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5869,6 +5869,17 @@ UPDATE `sharedbank` SET `slot_id` = ((`slot_id` - 2541) + 11210) WHERE `slot_id`
ALTER TABLE `merchantlist_temp`
MODIFY COLUMN `slot` int UNSIGNED NOT NULL DEFAULT 0 AFTER `npcid`;
)"
},
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{
Expand Down
2 changes: 1 addition & 1 deletion common/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* Manifest: https://github.com/EQEmu/Server/blob/master/utils/sql/db_update_manifest.txt
*/

#define CURRENT_BINARY_DATABASE_VERSION 9288
#define CURRENT_BINARY_DATABASE_VERSION 9287
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 9045

#endif
Expand Down

0 comments on commit ebbeaa1

Please sign in to comment.