diff options
author | Ernest <ernestwisniewski2@gmail.com> | 2020-07-13 08:18:11 +0200 |
---|---|---|
committer | Ernest <ernestwisniewski2@gmail.com> | 2020-07-13 08:18:11 +0200 |
commit | e06d9a620c53eb58aed98db7196555fc6adb5916 (patch) | |
tree | 476e1c9509f433bcf3ecd46131afa02176591f1d /server/lemmy_db/src/comment_view.rs | |
parent | 82dcaa454557fae1a1506efa18b2eb3d40533a8e (diff) |
Add post title to user comments inbox view, comment_view, user_mention_view
Diffstat (limited to 'server/lemmy_db/src/comment_view.rs')
-rw-r--r-- | server/lemmy_db/src/comment_view.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lemmy_db/src/comment_view.rs b/server/lemmy_db/src/comment_view.rs index afebac30..4af13c2d 100644 --- a/server/lemmy_db/src/comment_view.rs +++ b/server/lemmy_db/src/comment_view.rs @@ -301,6 +301,7 @@ table! { id -> Int4, creator_id -> Int4, post_id -> Int4, + post_name -> Varchar, parent_id -> Nullable<Int4>, content -> Text, removed -> Bool, @@ -341,6 +342,7 @@ pub struct ReplyView { pub id: i32, pub creator_id: i32, pub post_id: i32, + pub post_name: String, pub parent_id: Option<i32>, pub content: String, pub removed: bool, |