mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 07:17:56 +00:00
Couple more slight tweaks :)
This commit is contained in:
parent
1bb5d203df
commit
10c01da39b
8 changed files with 37 additions and 22 deletions
|
|
@ -54,4 +54,10 @@ select members.*,
|
|||
when members.description_privacy = 1 then members.description
|
||||
-- Any other privacy (rn just '2'), return null description (missing case = null in SQL)
|
||||
end as public_description
|
||||
from members;
|
||||
from members;
|
||||
|
||||
create view group_list as
|
||||
select groups.*,
|
||||
-- Find group member count
|
||||
(select count(*) from group_members where group_id = groups.id) as member_count
|
||||
from groups;
|
||||
Loading…
Add table
Add a link
Reference in a new issue