- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for 133xxxx (0.05 sec)
-
tests/create_test.go
} } func TestCreateOnConflictWithDefaultNull(t *testing.T) { type OnConflictUser struct { ID string Name string `gorm:"default:null"` Email string Mobile string `gorm:"default:'133xxxx'"` } err := DB.Migrator().DropTable(&OnConflictUser{}) AssertEqual(t, err, nil) err = DB.AutoMigrate(&OnConflictUser{}) AssertEqual(t, err, nil) u := OnConflictUser{
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 26.4K bytes - Viewed (0)