fix:fix ci error 6
This commit is contained in:
parent
d3caadc4a4
commit
ad0cdf6ae6
|
@ -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"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue