brenoepics / morningstar

An open-source Arcturus Community Fork.
GNU General Public License v3.0
3 stars 2 forks source link

Friendlist categorys (crude initial) - [closed] #1506

Closed brenoepics closed 1 year ago

brenoepics commented 2 years ago

In GitLab by @TenShie on Feb 10, 2022, 06:55

Merges TenShie-dev-Friendlistcats -> dev

I tryed to implement CategoryID's feel free to improve!

needed SQL:

-- Set an ID (tinyint[3]) from category list items
ALTER TABLE messenger_friendships ADD category TINYINT(3) NOT NULL DEFAULT '0' AFTER friends_since;

-- category list items seperator ; (Friends;Staff;Mods)
ALTER TABLE users ADD friendlistcategories VARCHAR(160) NOT NULL AFTER home_room;