9c3efe32e7
* 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.
25 lines
703 B
TOML
25 lines
703 B
TOML
[package]
|
|
name = "lemmy_db_views"
|
|
version = "0.16.5"
|
|
edition = "2021"
|
|
description = "A link aggregator for the fediverse"
|
|
license = "AGPL-3.0"
|
|
homepage = "https://join-lemmy.org/"
|
|
documentation = "https://join-lemmy.org/docs/en/index.html"
|
|
rust-version = "1.57"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[features]
|
|
full = ["lemmy_db_schema/full", "diesel", "tracing"]
|
|
|
|
[dependencies]
|
|
lemmy_db_schema = { version = "=0.16.5", path = "../db_schema" }
|
|
diesel = { version = "1.4.8", features = ["postgres","chrono","r2d2","serde_json"], optional = true }
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
|
tracing = { version = "0.1.32", optional = true }
|
|
diesel_ltree = "0.2.7"
|
|
|
|
[dev-dependencies]
|
|
serial_test = "0.6.0"
|