lemmy/migrations/2020-12-10-152350_create_po.../down.sql

12 lines
366 B
MySQL
Raw Permalink Normal View History

2020-12-10 20:53:49 +00:00
-- 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 trigger post_aggregates_stickied on post;
2020-12-10 20:53:49 +00:00
drop function
post_aggregates_post,
post_aggregates_comment_count,
post_aggregates_score,
post_aggregates_stickied;