lemmy/migrations/2020-12-04-183345_create_community_aggregates/down.sql
2020-12-09 11:52:10 -05:00

11 lines
466 B
SQL

-- community aggregates
drop table community_aggregates;
drop trigger community_aggregates_community on community;
drop trigger community_aggregates_post_count on post;
drop trigger community_aggregates_comment_count on comment;
drop trigger community_aggregates_subscriber_count on community_follower;
drop function
community_aggregates_community,
community_aggregates_post_count,
community_aggregates_comment_count,
community_aggregates_subscriber_count;