lemmy/crates/db_views/src
Dessalines 9c3efe32e7
First pass at adding comment trees. (#2362)
* First pass at adding comment trees.

- Extracted comment replies into its own table.
- Added ltree column to comment
- Added parent_id param to GetComments to fetch a tree branch
- No paging / limiting yet

* Adding child_count to comment_aggregates.

* Adding parent comment update counts

* Fix unit tests.

* Comment tree paging mostly done.

* Fix clippy

* Fix drone tests wrong postgres version.

* Fix unit tests.

* Add back in delete in unit test.

* Add postgres upgrade script.

* Fixing some PR comments.

* Move update ltree into Comment::create

* Updating based on comments.

* Fix send soft fail.
2022-07-30 05:55:59 +02:00
..
comment_report_view.rs First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00
comment_view.rs First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00
lib.rs Add cargo feature for building lemmy_api_common with mininum deps (#2243) 2022-05-03 17:44:13 +00:00
local_user_view.rs Add cargo feature for building lemmy_api_common with mininum deps (#2243) 2022-05-03 17:44:13 +00:00
post_report_view.rs Fix problem where actors can have empty public key (fixes #2347) (#2348) 2022-07-11 18:25:33 +00:00
post_view.rs First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00
private_message_view.rs Adding check for requests with no id or name, adding max limit. (#2265) 2022-07-08 10:21:33 +00:00
registration_application_view.rs Fix problem where actors can have empty public key (fixes #2347) (#2348) 2022-07-11 18:25:33 +00:00
site_view.rs Add cargo feature for building lemmy_api_common with mininum deps (#2243) 2022-05-03 17:44:13 +00:00
structs.rs First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00