setting diesel up more
This commit is contained in:
parent
37a2dbd986
commit
caed6e6367
5 changed files with 10 additions and 11 deletions
|
@ -4,5 +4,6 @@ use diesel::prelude::*;
|
|||
pub struct Image {
|
||||
pub id: i32,
|
||||
pub title: String,
|
||||
#[diesel(column_name = "filePath")]
|
||||
pub path: String,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue