2020-12-02 22:39:31 -05:00
|
|
|
-- Site aggregates
|
2023-08-02 12:44:51 -04:00
|
|
|
DROP TABLE site_aggregates;
|
|
|
|
|
|
|
|
DROP TRIGGER site_aggregates_site ON site;
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
DROP FUNCTION site_aggregates_site, 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;
|
|
|
|
|