We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e0d7ed commit eabaea3Copy full SHA for eabaea3
tests/main_test.go
@@ -100,10 +100,6 @@ func TestUserInsertScenarios(t *testing.T) {
100
Age int `gorm:"column:AGE"`
101
}
102
103
- if err := DB.Migrator().DropTable(&UserWithAge{}); err != nil {
104
- t.Fatalf("Failed to drop table: %v", err)
105
- }
106
-
107
if err := DB.AutoMigrate(&UserWithAge{}); err != nil {
108
t.Fatalf("Failed to migrate table: %v", err)
109
0 commit comments