- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestMigrateColumns (0.52 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/migrate_test.go
t.Fatalf("Failed to add column, got %v", err) } if DB.Table("column_structs").Migrator().HasColumn(&NewColumnStruct{}, "new_new_name") { t.Fatalf("Found deleted column") } } func TestMigrateColumns(t *testing.T) { tidbSkip(t, "use another test case") sqlite := DB.Dialector.Name() == "sqlite" sqlserver := DB.Dialector.Name() == "sqlserver" type ColumnStruct struct { gorm.Model
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:49:01 GMT 2026 - 66.3K bytes - Click Count (0)