- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestCustomizeField (0.23 seconds)
-
tests/customize_field_test.go
} DB.Migrator().DropTable(&CustomColumnAndIgnoredFieldClash{}) if err := DB.AutoMigrate(&CustomColumnAndIgnoredFieldClash{}); err != nil { t.Errorf("Should not raise error: %v", err) } } func TestCustomizeField(t *testing.T) { type CustomizeFieldStruct struct { gorm.Model Name string FieldAllowCreate string `gorm:"<-:create"` FieldAllowUpdate string `gorm:"<-:update"`
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 11 09:33:31 GMT 2020 - 6.9K bytes - Click Count (0)