oops, autogenerate ids please
This commit is contained in:
parent
e34f783e94
commit
eabd1f559a
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue