summaryrefslogtreecommitdiff
path: root/dichroism/src/models/new_photo.rs
blob: d348e95c5c26e918736d687b5cca8ed8a179b6c2 (plain) (blame)
1
2
3
4
5
6
use crate::schema::photos;
#[table_name = "photos"]
#[derive(Debug, Insertable)]
pub struct NewPhoto {
    pub path: String,
}