]> Untitled Git - lemmy.git/blob - migrations/2020-12-10-152350_create_post_aggregates/down.sql
Fixing broken SQL migration formatting. (#3800)
[lemmy.git] / migrations / 2020-12-10-152350_create_post_aggregates / down.sql
1 -- post aggregates
2 DROP TABLE post_aggregates;
3
4 DROP TRIGGER post_aggregates_post ON post;
5
6 DROP TRIGGER post_aggregates_comment_count ON comment;
7
8 DROP TRIGGER post_aggregates_score ON post_like;
9
10 DROP TRIGGER post_aggregates_stickied ON post;
11
12 DROP FUNCTION post_aggregates_post, post_aggregates_comment_count, post_aggregates_score, post_aggregates_stickied;
13