diff options
author | Dessalines <tyhou13@gmx.com> | 2020-07-09 19:59:02 -0400 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-07-09 19:59:02 -0400 |
commit | d222c60cef289b57f0ce350e9f24ce2df4792ef5 (patch) | |
tree | c2ddf596c3c26f8e42ada8b537473bd7322d7074 /server | |
parent | 7c35fc546bb148047087db6ed95b1579bab08238 (diff) |
A few cake day fixes. #916
Diffstat (limited to 'server')
-rw-r--r-- | server/src/db/comment_view.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/db/comment_view.rs b/server/src/db/comment_view.rs index 75ed4cb7..7c853a81 100644 --- a/server/src/db/comment_view.rs +++ b/server/src/db/comment_view.rs @@ -27,8 +27,8 @@ table! { creator_actor_id -> Text, creator_local -> Bool, creator_name -> Varchar, - creator_avatar -> Nullable<Text>, creator_published -> Timestamp, + creator_avatar -> Nullable<Text>, score -> BigInt, upvotes -> BigInt, downvotes -> BigInt, @@ -63,8 +63,8 @@ table! { creator_actor_id -> Text, creator_local -> Bool, creator_name -> Varchar, - creator_avatar -> Nullable<Text>, creator_published -> Timestamp, + creator_avatar -> Nullable<Text>, score -> BigInt, upvotes -> BigInt, downvotes -> BigInt, @@ -102,8 +102,8 @@ pub struct CommentView { pub creator_actor_id: String, pub creator_local: bool, pub creator_name: String, - pub creator_avatar: Option<String>, pub creator_published: chrono::NaiveDateTime, + pub creator_avatar: Option<String>, pub score: i64, pub upvotes: i64, pub downvotes: i64, |