diff --git a/tests/schema_test.go b/tests/schema_test.go index 13c9ea48..f13502b3 100644 --- a/tests/schema_test.go +++ b/tests/schema_test.go @@ -754,7 +754,7 @@ func getKeysFromMap(m map[string]*schemas.Index) []string { type SyncTestUser struct { - Id int `xorm:"pk autoincr 'id' comment('primary key')"` + Id int64 `xorm:"pk autoincr 'id' comment('primary key')"` Name string `xorm:"'name' notnull comment('nickname')" json:"name"` }