mirror of https://github.com/LemmyNet/lemmy
Fixing slow joins to post_read, post_saved, and comment_saved . (#2738)
- Fixes #2445instance_software_and_version^2
parent
9b0428bc50
commit
47f4aa3550
@ -0,0 +1 @@
|
||||
drop index idx_post_saved_person_id, idx_comment_saved_person_id;
|
@ -0,0 +1,2 @@
|
||||
create index idx_post_saved_person_id on post_saved (person_id);
|
||||
create index idx_comment_saved_person_id on comment_saved (person_id);
|
Loading…
Reference in New Issue