]> Untitled Git - lemmy.git/blob - migrations/2020-12-03-035643_create_user_aggregates/down.sql
add enable_federated_downvotes site option
[lemmy.git] / migrations / 2020-12-03-035643_create_user_aggregates / down.sql
1 -- User aggregates
2 DROP TABLE user_aggregates;
3
4 DROP TRIGGER user_aggregates_user ON user_;
5
6 DROP TRIGGER user_aggregates_post_count ON post;
7
8 DROP TRIGGER user_aggregates_post_score ON post_like;
9
10 DROP TRIGGER user_aggregates_comment_count ON comment;
11
12 DROP TRIGGER user_aggregates_comment_score ON comment_like;
13
14 DROP FUNCTION user_aggregates_user, user_aggregates_post_count, user_aggregates_post_score, user_aggregates_comment_count, user_aggregates_comment_score;
15