lemmy/migrations/2020-12-04-183345_create_community_aggregates/down.sql
2020-12-04 16:35:46 -05:00

10 lines
374 B
SQL

-- community aggregates
drop table community_aggregates;
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_post_count,
community_aggregates_comment_count,
community_aggregates_subscriber_count;