lemmy/crates/db_views/src
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_report_view.rs Add report_counts to post and comment aggregate tables. (#5219) 2024-11-25 11:24:57 +01:00
comment_view.rs Add report_counts to post and comment aggregate tables. (#5219) 2024-11-25 11:24:57 +01:00
custom_emoji_view.rs refactor: destructure tuples to enhance readability (#5151) 2024-10-31 08:12:24 -04:00
lib.rs Creating a LocalImageView, so that front ends have the Person struct. (#4631) 2024-04-16 19:20:44 -04:00
local_image_view.rs Creating a LocalImageView, so that front ends have the Person struct. (#4631) 2024-04-16 19:20:44 -04:00
local_user_view.rs Removing a few expects from production and test code. (#5193) 2024-11-15 08:18:52 -05:00
post_report_view.rs Add report_counts to post and comment aggregate tables. (#5219) 2024-11-25 11:24:57 +01:00
post_view.rs Add report_counts to post and comment aggregate tables. (#5219) 2024-11-25 11:24:57 +01:00
private_message_report_view.rs Implement private communities (#5076) 2024-11-07 05:49:05 -05:00
private_message_view.rs Combine action tables (#4459) 2024-11-11 11:34:10 +01:00
registration_application_view.rs Add user setting to auto-mark fetched posts as read. (#5160) 2024-11-13 10:05:16 -05:00
site_view.rs Fixing LemmyError imports. (#5157) 2024-11-04 10:44:58 +01:00
structs.rs Upgrading ts_rs to 10.0.0 (#5163) 2024-11-06 15:50:13 +01:00
vote_view.rs Cleanup post action forms (#5197) 2024-11-15 11:21:08 +01:00