diff options
Diffstat (limited to 'src/models.rs')
-rw-r--r-- | src/models.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models.rs b/src/models.rs index e502891305a2..929bd0507e94 100644 --- a/src/models.rs +++ b/src/models.rs @@ -1,6 +1,6 @@ use chrono::prelude::{DateTime, Utc}; -#[derive(Queryable)] +#[derive(Queryable, Serialize)] pub struct Thread { pub id: i32, pub title: String, |