feat(main): Add minimal thread listing example

This commit is contained in:
Vincent Ambo 2018-04-08 16:08:26 +02:00
parent f3f509d463
commit 5604d933e8
3 changed files with 11 additions and 3 deletions

View file

@ -8,6 +8,7 @@ pub struct Thread {
pub posted: DateTime<Utc>,
}
#[derive(Queryable)]
pub struct Post {
pub id: i32,
pub thread: i32,