lemmy/crates/db_schema/src/aggregates
Dessalines ba3d574d92
Add report_counts to post and comment aggregate tables. (#5219)
* Add report_counts to post and comment aggregate tables.

- This adds a report_count and unresolved_report_count to
  the post and comment aggregate tables.
- Useful for front-ends wishing to show report links.
- Fixes #4163

* Updating the historical counts.

* Switching from bigint to smallint.

* Using dullbananas create_trigger function.
2024-11-25 11:24:57 +01:00
..
comment_aggregates.rs Implement private communities (#5076) 2024-11-07 05:49:05 -05:00
community_aggregates.rs Implement private communities (#5076) 2024-11-07 05:49:05 -05:00
mod.rs Showing # of unread comments for posts. Fixes #2134 (#2393) 2022-09-27 16:45:46 +00:00
person_aggregates.rs Cleanup post action forms (#5197) 2024-11-15 11:21:08 +01:00
person_post_aggregates.rs Combine action tables (#4459) 2024-11-11 11:34:10 +01:00
post_aggregates.rs Cleanup post action forms (#5197) 2024-11-15 11:21:08 +01:00
site_aggregates.rs Implement private communities (#5076) 2024-11-07 05:49:05 -05:00
structs.rs Add report_counts to post and comment aggregate tables. (#5219) 2024-11-25 11:24:57 +01:00