mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-05 17:53:48 +00:00
Update migrations/2024-12-15-151642_add_index_on_person_id_read_for_read_only_post_actions/up.sql
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
This commit is contained in:
parent
da3aaf0515
commit
a475e09257
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
CREATE INDEX idx_post_actions_on_read_read_not_null ON post_actions (person_id, read)
|
||||
CREATE INDEX idx_post_actions_on_read_read_not_null ON post_actions (person_id, read, post_id)
|
||||
WHERE
|
||||
read IS NOT NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue