diff options
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, |