mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Fix inconsistent order when pulling autoproxy members
Signed-off-by: Ske <voltasalt@gmail.com>
This commit is contained in:
parent
0fa13f6e1e
commit
8b948bcfbb
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ create view system_last_switch as
|
|||
select systems.id as system,
|
||||
last_switch.id as switch,
|
||||
last_switch.timestamp as timestamp,
|
||||
array(select member from switch_members where switch_members.switch = last_switch.id) as members
|
||||
array(select member from switch_members where switch_members.switch = last_switch.id order by switch_members.id) as members
|
||||
from systems
|
||||
inner join lateral (select * from switches where switches.system = systems.id order by timestamp desc limit 1) as last_switch on true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue