From 18f37150d7d104e8810fedac848903f8060b08d6 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Wed, 20 Oct 2021 10:49:26 +0800 Subject: [PATCH] Fixup --- tests/common/features/schema.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/common/features/schema.rs b/tests/common/features/schema.rs index 5292f4fc..70752d35 100644 --- a/tests/common/features/schema.rs +++ b/tests/common/features/schema.rs @@ -84,8 +84,8 @@ pub async fn create_active_enum_table(db: &DbConn) -> Result ColumnDef::new(active_enum::Column::Id) .integer() .not_null() - .primary_key() - .auto_increment(), + .auto_increment() + .primary_key(), ) .col( ColumnDef::new(active_enum::Column::Category)