lemmy/migrations/2020-12-03-035643_create_user_aggregates/down.sql

14 lines
475 B
MySQL
Raw Permalink Normal View History

2020-12-03 15:18:17 +00:00
-- User aggregates
drop table user_aggregates;
2020-12-07 20:58:53 +00:00
drop trigger user_aggregates_user on user_;
2020-12-03 15:18:17 +00:00
drop trigger user_aggregates_post_count on post;
drop trigger user_aggregates_post_score on post_like;
drop trigger user_aggregates_comment_count on comment;
drop trigger user_aggregates_comment_score on comment_like;
drop function
2020-12-07 20:58:53 +00:00
user_aggregates_user,
2020-12-03 15:18:17 +00:00
user_aggregates_post_count,
user_aggregates_post_score,
user_aggregates_comment_count,
user_aggregates_comment_score;