feat(main): Add minimal thread listing example
This commit is contained in:
parent
f3f509d463
commit
5604d933e8
3 changed files with 11 additions and 3 deletions
|
|
@ -8,6 +8,7 @@ pub struct Thread {
|
|||
pub posted: DateTime<Utc>,
|
||||
}
|
||||
|
||||
#[derive(Queryable)]
|
||||
pub struct Post {
|
||||
pub id: i32,
|
||||
pub thread: i32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue