mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-05 12:05:01 +00:00
be1389420b
* SQL format checking, 1. * SQL format checking, 2. * SQL format checking, 3. * SQL format checking, 4. * SQL format checking, 5. * Running pg_format * Getting rid of comment. * Upping pg_format version. * Using git ls-files for sql format check. * Fixing sql lints. * Addressing PR comments.
23 lines
819 B
SQL
23 lines
819 B
SQL
-- Site aggregates
|
|
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;
|
|
|