Commit graph

1 commit

Author SHA1 Message Date
Dessalines
ba3d574d92
Add report_counts to post and comment aggregate tables. ()
* 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 

* Updating the historical counts.

* Switching from bigint to smallint.

* Using dullbananas create_trigger function.
2024-11-25 11:24:57 +01:00