mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-05 17:53:48 +00:00
added index on (person_id, read) on post actions where read is not null
This commit is contained in:
parent
841d98dcb0
commit
0ce7d4e12a
2 changed files with 4 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
DROP idx_post_actions_on_read_read_not_null;
|
|
@ -0,0 +1,3 @@
|
|||
CREATE INDEX idx_post_actions_on_read_read_not_null ON post_actions (person_id, read)
|
||||
WHERE
|
||||
read IS NOT NULL;
|
Loading…
Reference in a new issue