diff options
Diffstat (limited to 'src/models.rs')
-rw-r--r-- | src/models.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/models.rs b/src/models.rs index 388dab48534d..eb3030ccb310 100644 --- a/src/models.rs +++ b/src/models.rs @@ -5,7 +5,6 @@ use schema::{threads, posts}; pub struct Thread { pub id: i32, pub title: String, - pub body: String, pub posted: DateTime<Utc>, pub author_name: String, pub author_email: String, @@ -26,7 +25,6 @@ pub struct Post { #[table_name="threads"] pub struct NewThread { pub title: String, - pub body: String, pub author_name: String, pub author_email: String, } |