dialect/sql: add support for index operator-class using atlasgo.io (#3073)

This commit is contained in:
Ariel Mashraki
2022-11-08 14:08:10 +02:00
committed by GitHub
parent 942eb56b2a
commit eae7d390a9
9 changed files with 144 additions and 3 deletions

View File

@@ -764,7 +764,7 @@ func (d *MySQL) indexModified(old, new *Index) bool {
return false
}
// indexParts returns a map holding the sub_part mapping if exist.
// indexParts returns a map holding the sub_part mapping if exists.
func indexParts(idx *Index) map[string]uint {
parts := make(map[string]uint)
if idx.Annotation == nil {