fix:fix ci error 4
This commit is contained in:
parent
6bb73507be
commit
584f744a28
|
@ -753,6 +753,7 @@ func getKeysFromMap(m map[string]*schemas.Index) []string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestSync2_3(t *testing.T) {
|
func TestSync2_3(t *testing.T) {
|
||||||
|
if testEngine.Dialect().URI().DBType == schemas.MYSQL {
|
||||||
type SyncTestUser struct {
|
type SyncTestUser struct {
|
||||||
Id int `xorm:"pk autoincr 'id'"`
|
Id int `xorm:"pk autoincr 'id'"`
|
||||||
Name string `xorm:"'name' notnull comment('nickname')" json:"name"`
|
Name string `xorm:"'name' notnull comment('nickname')" json:"name"`
|
||||||
|
@ -777,3 +778,5 @@ func TestSync2_3(t *testing.T) {
|
||||||
assert.EqualValues(t, tables[0].GetColumn("id").Comment, tableInfo.GetColumn("id").Comment)
|
assert.EqualValues(t, tables[0].GetColumn("id").Comment, tableInfo.GetColumn("id").Comment)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue