From cf52839c3ac4564a10790b060d0e97b37f3daf1f Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Mon, 25 Oct 2021 17:12:17 +0800 Subject: [PATCH] Typo --- tests/common/features/schema.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common/features/schema.rs b/tests/common/features/schema.rs index f630ccb7..bbc9faf8 100644 --- a/tests/common/features/schema.rs +++ b/tests/common/features/schema.rs @@ -132,7 +132,7 @@ pub async fn create_active_enum_table(db: &DbConn) -> Result .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()