lemmy/migrations/2020-12-04-183345_create_co.../down.sql

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;