mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-29 11:20:36 +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.
13 lines
463 B
SQL
13 lines
463 B
SQL
-- community aggregates
|
|
DROP TABLE community_aggregates;
|
|
|
|
DROP TRIGGER community_aggregates_community ON community;
|
|
|
|
DROP TRIGGER community_aggregates_post_count ON post;
|
|
|
|
DROP TRIGGER community_aggregates_comment_count ON comment;
|
|
|
|
DROP TRIGGER community_aggregates_subscriber_count ON community_follower;
|
|
|
|
DROP FUNCTION community_aggregates_community, community_aggregates_post_count, community_aggregates_comment_count, community_aggregates_subscriber_count;
|
|
|