2020-12-03 03:39:31 +00:00
|
|
|
-- Site aggregates
|
|
|
|
drop table site_aggregates;
|
2020-12-20 01:10:47 +00:00
|
|
|
drop trigger site_aggregates_site on site;
|
2021-01-14 20:22:07 +00:00
|
|
|
drop trigger site_aggregates_user_insert on user_;
|
|
|
|
drop trigger site_aggregates_user_delete on user_;
|
|
|
|
drop trigger site_aggregates_post_insert on post;
|
|
|
|
drop trigger site_aggregates_post_delete on post;
|
|
|
|
drop trigger site_aggregates_comment_insert on comment;
|
|
|
|
drop trigger site_aggregates_comment_delete on comment;
|
|
|
|
drop trigger site_aggregates_community_insert on community;
|
|
|
|
drop trigger site_aggregates_community_delete on community;
|
2020-12-03 03:39:31 +00:00
|
|
|
drop function
|
2020-12-20 01:10:47 +00:00
|
|
|
site_aggregates_site,
|
2021-01-14 20:22:07 +00:00
|
|
|
site_aggregates_user_insert,
|
|
|
|
site_aggregates_user_delete,
|
|
|
|
site_aggregates_post_insert,
|
|
|
|
site_aggregates_post_delete,
|
|
|
|
site_aggregates_comment_insert,
|
|
|
|
site_aggregates_comment_delete,
|
|
|
|
site_aggregates_community_insert,
|
|
|
|
site_aggregates_community_delete;
|