fix test code
This commit is contained in:
parent
58fb3bbcdf
commit
dc99e0ce42
|
@ -1218,7 +1218,7 @@ func TestInsertNotDeleted(t *testing.T) {
|
|||
|
||||
type InsertDeletedStruct struct {
|
||||
ID uint64 `xorm:"'ID' pk autoincr"`
|
||||
DeletedAt time.Time `xorm:"'DELETED_AT' deleted notnull"`
|
||||
DeletedAt time.Time `xorm:"'DELETED_AT' deleted"`
|
||||
}
|
||||
|
||||
assert.NoError(t, testEngine.Sync(new(InsertDeletedStruct)))
|
||||
|
|
Loading…
Reference in New Issue