forked from mirror/gorm
update default_value_test
This commit is contained in:
parent
dbe0f4d8d7
commit
130f24090d
|
@ -13,7 +13,6 @@ func TestDefaultValue(t *testing.T) {
|
|||
Name string `gorm:"not null;default:foo"`
|
||||
Name2 string `gorm:"size:233;not null;default:'foo'"`
|
||||
Name3 string `gorm:"size:233;not null;default:''"`
|
||||
Name4 string `gorm:"size:233;default:null"`
|
||||
Age int `gorm:"default:18"`
|
||||
Enabled bool `gorm:"default:true"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue