switch properly to using newdrink
This commit is contained in:
parent
0eeb088b24
commit
ccfefbf501
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
use diesel::prelude::*;
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Identifiable, Queryable, Selectable, Debug)]
|
||||
#[diesel(table_name = crate::schema::shifts)]
|
||||
|
@ -49,7 +50,7 @@ pub struct Show {
|
|||
pub end: Option<chrono::NaiveDateTime>,
|
||||
}
|
||||
|
||||
#[derive(Insertable, Deseralize, Debug)]
|
||||
#[derive(Insertable, Deserialize, Debug)]
|
||||
#[diesel(table_name = crate::schema::drinks)]
|
||||
#[diesel(check_for_backend(diesel::mysql::Mysql))]
|
||||
pub struct NewDrink {
|
||||
|
|
Loading…
Reference in a new issue