add mut support

非unique mut支持
master
xxjwxc 4 years ago
parent ef72597fb9
commit 8eeea201db

@ -171,7 +171,7 @@ func getTableElement(orm *mysqldb.MySqlDB, tab string) (el []model.ColumnsInfo)
} else { // mut
tmp.Index = append(tmp.Index, model.KList{
Key: model.ColumnsKeyIndex,
Multi: (keyNameCount[v.KeyName] > 1),
Multi: true,
KeyName: v.KeyName,
})
}

Loading…
Cancel
Save