fix: use fully qualified syntax when call fn name in trait ActiveEnum. (#2460)
This commit is contained in:
parent
13a3de6633
commit
bead32a0d8
@ -59,7 +59,7 @@ impl ActiveEnum {
|
|||||||
"Enum" => {
|
"Enum" => {
|
||||||
db_type = Ok(quote! {
|
db_type = Ok(quote! {
|
||||||
Enum {
|
Enum {
|
||||||
name: Self::name(),
|
name: <Self as sea_orm::ActiveEnum>::name(),
|
||||||
variants: Self::iden_values(),
|
variants: Self::iden_values(),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user