Files
DarkflameServer/migrations/dlu/sqlite/8_fix_pet_ids.sql
David Markowitz 64faac714c feat: Remove PERSISTENT ObjectID bit because it's not an ObjectID bit (#1881)
* feat: Remove PERSISTENT ObjectID bit because it's not an ObjectID bit

TODO: Need to add character save migration for the pet subkey in the inventory
Tested that the migrations work on mysql and sqlite and that properties have all their contents as before.
Need to test pets still

* fix: ugc, pet ids. remove persistent bit
2025-09-22 23:41:38 -05:00

3 lines
163 B
SQL

/* Unset the fake persistent bit alongside the Character bit and then re-set the Character bit */
update pet_names set id = id % 0x100000000 | 0x1000000000000000;