setting diesel up more

This commit is contained in:
Chris Cochrun 2023-04-04 15:15:29 -05:00
parent 37a2dbd986
commit caed6e6367
5 changed files with 10 additions and 11 deletions

View file

@ -4,5 +4,6 @@ use diesel::prelude::*;
pub struct Image {
pub id: i32,
pub title: String,
#[diesel(column_name = "filePath")]
pub path: String,
}