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 committed Dec 24, 2024
1 parent 72c6fc8 commit b045160
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 b045160

Please sign in to comment.