DarkflameServer/migrations/dlu/4_friends_list_objectids.sql
David Markowitz 06217ad5e3
Address friends list IDs and removal of friends (#628)
* Add friends list migration

* Change friends to use charID

Update friends table to use charID and not LWOOBJID variant.

* Fix remove friend

Fix remove friend and make the query more readable at a glance.

* Add and remove friends in the container

Properly add and remove friends in the player container
2022-07-10 17:59:07 -07:00

1 line
92 B
SQL

UPDATE friends SET player_id = player_id % 0x100000000, friend_id = friend_id % 0x100000000;