Fix DeriveActiveEnum #1478

This commit is contained in:
Chris Tsang 2023-02-18 12:47:32 +08:00
parent 0b1f637bc1
commit a8e37aa65e

View File

@ -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)
} }
} }