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

12 lines
466 B
MySQL
Raw Permalink Normal View History

2020-12-04 21:35:46 +00:00
-- community aggregates
drop table community_aggregates;
2020-12-09 16:52:10 +00:00
drop trigger community_aggregates_community on community;
2020-12-04 21:35:46 +00:00
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
2020-12-09 16:52:10 +00:00
community_aggregates_community,
2020-12-04 21:35:46 +00:00
community_aggregates_post_count,
community_aggregates_comment_count,
community_aggregates_subscriber_count;