- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for null_string_model (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/migrate_test.go
} type NullModel struct { ID uint Content string `gorm:"default:null"` } type NullStringModel struct { ID uint Content string `gorm:"default:'null'"` Active bool `gorm:"default:false"` } tableName := "null_string_model" DB.Migrator().DropTable(tableName) err := DB.Table(tableName).AutoMigrate(&NullModel{}) AssertEqual(t, err, nil)Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Aug 20 04:51:17 GMT 2025 - 65.2K bytes - Click Count (0)