mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
dialect/sql: add support for index operator-class using atlasgo.io (#3073)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user