oops, autogenerate ids please
parent
e34f783e94
commit
eabd1f559a
|
@ -34,7 +34,6 @@ pub struct Dancer {
|
||||||
#[diesel(table_name = crate::schema::dancers)]
|
#[diesel(table_name = crate::schema::dancers)]
|
||||||
#[diesel(check_for_backend(diesel::mysql::Mysql))]
|
#[diesel(check_for_backend(diesel::mysql::Mysql))]
|
||||||
pub struct NewDancer<'a> {
|
pub struct NewDancer<'a> {
|
||||||
pub id: u32,
|
|
||||||
pub stage_name: &'a str,
|
pub stage_name: &'a str,
|
||||||
pub name: &'a str,
|
pub name: &'a str,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue