Typo
This commit is contained in:
parent
4b1cac7f35
commit
cf52839c3a
@ -132,7 +132,7 @@ pub async fn create_active_enum_table(db: &DbConn) -> Result<ExecResult, DbErr>
|
||||
.col(&mut tea_col)
|
||||
.to_owned();
|
||||
|
||||
if db_backend = DbBackend::Postgres {
|
||||
if db_backend == DbBackend::Postgres {
|
||||
let drop_type_stmt = Type::drop()
|
||||
.name(tea_enum.clone())
|
||||
.cascade()
|
||||
|
Loading…
x
Reference in New Issue
Block a user