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
This commit is contained in:
David Markowitz
2022-07-10 17:59:07 -07:00
committed by GitHub
parent 325dc5a571
commit 06217ad5e3
2 changed files with 84 additions and 62 deletions

View File

@@ -0,0 +1 @@
UPDATE friends SET player_id = player_id % 0x100000000, friend_id = friend_id % 0x100000000;