Commit graph

3 commits

Author SHA1 Message Date
Dessalines cf8658196f Adding some logging lines, fixing for missing posts. 2023-01-21 15:08:25 -05:00
Dessalines 42de703569 Speeding up comment-ltree migration, fixing index creation. Fixes #2664 2023-01-20 13:54:46 -05:00
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