fix:fix ci error 6

This commit is contained in:
lijunshi 2024-04-28 15:17:22 +08:00
parent d3caadc4a4
commit ad0cdf6ae6
1 changed files with 3 additions and 3 deletions

View File

@ -754,7 +754,7 @@ func getKeysFromMap(m map[string]*schemas.Index) []string {
type SyncTestUser struct {
Id int `xorm:"pk autoincr 'id'"`
Id int `xorm:"pk autoincr 'id' comment('primary key')"`
Name string `xorm:"'name' notnull comment('nickname')" json:"name"`
}
@ -762,9 +762,9 @@ func (m *SyncTestUser) TableName() string {
return "sync_test_user"
}
// add comment for id column
type SyncTestUser2 struct {
Id int `xorm:"pk autoincr 'id' comment('primary key')"`
Id int64 `xorm:"pk autoincr 'id' comment('primary key 2')"`
Name string `xorm:"'name' notnull comment('nickname')" json:"name"`
}