lemmy/migrations/2023-04-23-164732_add_person_details_indexes/down.sql
Dessalines 1b5437cbe3
Addressing slow profile queries. #2777 (#2830)
* Addressing slow profile queries. #2777

* Addressing PR comments.
2023-04-25 19:28:06 -04:00

21 lines
No EOL
832 B
SQL

drop index idx_person_lower_name;
drop index idx_community_lower_name;
drop index idx_community_moderator_published;
drop index idx_community_moderator_community;
drop index idx_community_moderator_person;
drop index idx_comment_saved_comment;
drop index idx_comment_saved_person;
drop index idx_community_block_community;
drop index idx_community_block_person;
drop index idx_community_follower_community;
drop index idx_community_follower_person;
drop index idx_person_block_person;
drop index idx_person_block_target;
drop index idx_post_language;
drop index idx_comment_language;
drop index idx_person_aggregates_person;
drop index idx_person_post_aggregates_post;
drop index idx_person_post_aggregates_person;
drop index idx_comment_reply_comment;
drop index idx_comment_reply_recipient;
drop index idx_comment_reply_published;