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) {
|
||||
if testEngine.Dialect().URI().DBType == schemas.MYSQL {
|
||||
type SyncTestUser struct {
|
||||
Id int `xorm:"pk autoincr 'id'"`
|
||||
Name string `xorm:"'name' notnull comment('nickname')" json:"name"`
|
||||
|
@ -776,4 +777,6 @@ func TestSync2_3(t *testing.T) {
|
|||
assert.EqualValues(t, tables[0].GetColumn("id").Nullable, tableInfo.GetColumn("id").Nullable)
|
||||
assert.EqualValues(t, tables[0].GetColumn("id").Comment, tableInfo.GetColumn("id").Comment)
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue