mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-05-19 18:28:05 +00:00
* 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.
16 lines
470 B
SQL
16 lines
470 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;
|
|
|