1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2024-12-21 00:39:09 +00:00
lemmy/migrations/2020-12-10-152350_create_post_aggregates/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;