mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-27 02:10:35 +00:00
13 lines
475 B
SQL
13 lines
475 B
SQL
-- User aggregates
|
|
drop table user_aggregates;
|
|
drop trigger user_aggregates_user on user_;
|
|
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
|
|
user_aggregates_user,
|
|
user_aggregates_post_count,
|
|
user_aggregates_post_score,
|
|
user_aggregates_comment_count,
|
|
user_aggregates_comment_score;
|