From 52f6192e89e1a7b3f63d482ac067454cc99fb754 Mon Sep 17 00:00:00 2001 From: zhouop0 <11733741+zhouop0@users.noreply.github.com> Date: Sun, 25 Aug 2024 17:49:40 +0800 Subject: [PATCH] format --- migration/version/v3/update_bond_type.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/migration/version/v3/update_bond_type.go b/migration/version/v3/update_bond_type.go index a330e30..6b9c840 100644 --- a/migration/version/v3/update_bond_type.go +++ b/migration/version/v3/update_bond_type.go @@ -20,7 +20,4 @@ var UpdateLostBondAndClaimDataTable = gormigrate.Migration{ } return tx.AutoMigrate(&GameLostBond{}, &GameClaimData{}) }, - Rollback: func(db *gorm.DB) error { - return fmt.Errorf("update column type error") - }, }