1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2025-01-23 22:26:45 +00:00
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;