about summary refs log tree commit diff
path: root/src/models.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/models.rs')
-rw-r--r--src/models.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models.rs b/src/models.rs
index a7ed8a91df03..e502891305a2 100644
--- a/src/models.rs
+++ b/src/models.rs
@@ -8,6 +8,7 @@ pub struct Thread {
     pub posted: DateTime<Utc>,
 }
 
+#[derive(Queryable)]
 pub struct Post {
     pub id: i32,
     pub thread: i32,