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

14 lines
363 B
MySQL
Raw 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;
DROP FUNCTION post_aggregates_post, post_aggregates_comment_count, post_aggregates_score, post_aggregates_stickied;