Skip to content

Commit

Permalink
fix: use fully qualified syntax when call fn name in trait ActiveEnum. (
Browse files Browse the repository at this point in the history
  • Loading branch information
799189288 authored Dec 26, 2024
1 parent 13a3de6 commit bead32a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sea-orm-macros/src/derives/active_enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl ActiveEnum {
"Enum" => {
db_type = Ok(quote! {
Enum {
name: Self::name(),
name: <Self as sea_orm::ActiveEnum>::name(),
variants: Self::iden_values(),
}
})
Expand Down

0 comments on commit bead32a

Please sign in to comment.