From 871093a973d265026581c53b760f9f021b192f54 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 25 May 2018 18:44:05 +0200 Subject: feat(db): Update views with thread-closed field --- src/models.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/models.rs') diff --git a/src/models.rs b/src/models.rs index 006596fd8331..eab90b30f601 100644 --- a/src/models.rs +++ b/src/models.rs @@ -63,6 +63,7 @@ pub struct SimplePost { pub body: String, pub posted: DateTime, pub user_id: i32, + pub closed: bool, pub author_name: String, pub author_email: String, } @@ -77,6 +78,7 @@ pub struct ThreadIndex { pub thread_author: String, pub created: DateTime, pub sticky: bool, + pub closed: bool, pub post_id: i32, pub post_author: String, pub posted: DateTime, -- cgit 1.4.1