]> Untitled Git - lemmy.git/blob - migrations/2020-12-04-183345_create_community_aggregates/down.sql
Do not decrement comment score twice when removing then deleting. (#3196)
[lemmy.git] / migrations / 2020-12-04-183345_create_community_aggregates / down.sql
1 -- community aggregates
2 drop table community_aggregates;
3 drop trigger community_aggregates_community on community;
4 drop trigger community_aggregates_post_count on post;
5 drop trigger community_aggregates_comment_count on comment;
6 drop trigger community_aggregates_subscriber_count on community_follower;
7 drop function 
8   community_aggregates_community,
9   community_aggregates_post_count,
10   community_aggregates_comment_count,
11   community_aggregates_subscriber_count;