Fix DeriveEntityModel Decimal mapping
This commit is contained in:
parent
84594114dc
commit
27807f3f6c
@ -180,7 +180,7 @@ pub fn expand_derive_entity_model(data: Data, attrs: Vec<Attribute>) -> syn::Res
|
||||
}
|
||||
"Uuid" => quote! { Uuid },
|
||||
"Json" => quote! { Json },
|
||||
"Decimal" => quote! { Decimal },
|
||||
"Decimal" => quote! { Decimal(None) },
|
||||
"Vec<u8>" => quote! { Binary },
|
||||
_ => {
|
||||
return Err(Error::new(
|
||||
|
Loading…
x
Reference in New Issue
Block a user