mirror of https://github.com/go-gorm/gorm.git
Fix go.mod
This commit is contained in:
parent
dcdcc6fedc
commit
c888560a0e
|
@ -11,7 +11,7 @@ func TestDefaultValue(t *testing.T) {
|
|||
gorm.Model
|
||||
Email string `gorm:"not null;index:,unique"`
|
||||
Name string `gorm:"not null;default:'foo'"`
|
||||
Name2 string `gorm:"not null;default:'foo'"`
|
||||
Name2 string `gorm:"size:233;not null;default:'foo'"`
|
||||
Age int `gorm:"default:18"`
|
||||
Enabled bool `gorm:"default:true"`
|
||||
}
|
||||
|
|
|
@ -9,10 +9,8 @@ require (
|
|||
gorm.io/driver/mysql v0.2.6
|
||||
gorm.io/driver/postgres v0.2.3
|
||||
gorm.io/driver/sqlite v1.0.7
|
||||
gorm.io/driver/sqlserver v0.2.2
|
||||
gorm.io/driver/sqlserver v0.2.3
|
||||
gorm.io/gorm v0.2.9
|
||||
)
|
||||
|
||||
replace gorm.io/gorm => ../
|
||||
|
||||
replace gorm.io/driver/sqlserver => /Users/jinzhu/Projects/sqlserver
|
||||
|
|
Loading…
Reference in New Issue