Fix DeriveActiveEnum #1478
This commit is contained in:
parent
0b1f637bc1
commit
a8e37aa65e
@ -338,7 +338,7 @@ impl ActiveEnum {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn db_type() -> sea_orm::ColumnDef {
|
fn db_type() -> sea_orm::ColumnDef {
|
||||||
sea_orm::ColumnType::#db_type.def()
|
sea_orm::prelude::ColumnTypeTrait::def(sea_orm::ColumnType::#db_type)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user