mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Refactor sort/filter code once again
Now we handle sorting on the bot side, but still filter in the database
This commit is contained in:
parent
0bb8d2b917
commit
6d06474d26
12 changed files with 164 additions and 126 deletions
|
|
@ -1,4 +1,9 @@
|
|||
drop view if exists system_last_switch;
|
||||
-- This gets run on every bot startup and makes sure we're starting from a clean slate
|
||||
-- Then, the views/functions.sql files get run, and they recreate the necessary objects
|
||||
-- This does mean we can't use any functions in row triggers, etc. Still unsure how to handle this.
|
||||
|
||||
drop view if exists system_last_switch;
|
||||
drop view if exists system_fronters;
|
||||
drop view if exists member_list;
|
||||
|
||||
drop function if exists message_context;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue