diff --git a/PluralKit.Core/db_schema.sql b/PluralKit.Core/db_schema.sql index d401a6d4..e3e8d016 100644 --- a/PluralKit.Core/db_schema.sql +++ b/PluralKit.Core/db_schema.sql @@ -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,