Refactoring

This commit is contained in:
Billy Chan 2021-11-17 21:24:06 +08:00
parent 0deedddf28
commit 0e4221bd72
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -25,7 +25,7 @@ pub enum Category {
}
#[derive(Debug, Clone, PartialEq, EnumIter, DeriveActiveEnum)]
#[sea_orm(rs_type = "i32", db_type = r#"Integer"#)]
#[sea_orm(rs_type = "i32", db_type = "Integer")]
pub enum Color {
#[sea_orm(num_value = 0)]
Black,