Skip to content

Commit bead32a

Browse files
authored
fix: use fully qualified syntax when call fn name in trait ActiveEnum. (#2460)
1 parent 13a3de6 commit bead32a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sea-orm-macros/src/derives/active_enum.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl ActiveEnum {
5959
"Enum" => {
6060
db_type = Ok(quote! {
6161
Enum {
62-
name: Self::name(),
62+
name: <Self as sea_orm::ActiveEnum>::name(),
6363
variants: Self::iden_values(),
6464
}
6565
})

0 commit comments

Comments
 (0)