oops, autogenerate ids please

This commit is contained in:
Zynh0722 2023-11-05 12:24:30 -08:00
parent e34f783e94
commit eabd1f559a

View file

@ -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,
} }