lemmy/migrations/2023-04-23-164732_add_person_details_indexes/down.sql
Dessalines be1389420b
Adding SQL format checking via pg_format / pgFormatter (#3740)
* SQL format checking, 1.

* SQL format checking, 2.

* SQL format checking, 3.

* SQL format checking, 4.

* SQL format checking, 5.

* Running pg_format

* Getting rid of comment.

* Upping pg_format version.

* Using git ls-files for sql format check.

* Fixing sql lints.

* Addressing PR comments.
2023-08-02 12:44:51 -04:00

43 lines
854 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;