mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Add index to message table to speed up count querying
This commit is contained in:
parent
3b72fa720b
commit
5fc654b758
1 changed files with 2 additions and 0 deletions
|
|
@ -74,6 +74,8 @@ ON switch_members USING btree (
|
|||
switch ASC NULLS LAST
|
||||
) INCLUDE (member);
|
||||
|
||||
create index if not exists idx_message_member on messages (member);
|
||||
|
||||
create table if not exists webhooks
|
||||
(
|
||||
channel bigint primary key,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue