mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-10 07:47:53 +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
|
|
@ -82,7 +82,7 @@ namespace PluralKit.Core
|
|||
await ApplyMigrations(conn, tx);
|
||||
|
||||
// Now, reapply views/functions (we deleted them above, no need to worry about conflicts)
|
||||
await ExecuteSqlFile($"{RootPath}.views.sql", conn, tx);
|
||||
await ExecuteSqlFile($"{RootPath}.Views.views.sql", conn, tx);
|
||||
await ExecuteSqlFile($"{RootPath}.Functions.functions.sql", conn, tx);
|
||||
|
||||
// Finally, commit tx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue