lemmy/migrations/2020-12-10-152350_create_post_aggregates/down.sql
2020-12-10 15:53:49 -05:00

10 lines
291 B
SQL

-- post aggregates
drop table post_aggregates;
drop trigger post_aggregates_post on post;
drop trigger post_aggregates_comment_count on comment;
drop trigger post_aggregates_score on post_like;
drop function
post_aggregates_post,
post_aggregates_comment_count,
post_aggregates_score;