feat: add diesel, but not works
This commit is contained in:
7
__database/diesel/src/models.rs
Normal file
7
__database/diesel/src/models.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
#[derive(Queryable)]
|
||||
pub struct Post {
|
||||
pub id: i32,
|
||||
pub title: String,
|
||||
pub body: String,
|
||||
pub published: bool,
|
||||
}
|
||||
Reference in New Issue
Block a user