add more info to code comment
This commit is contained in:
parent
93b9dc3fd9
commit
020a74861b
2
sync.go
2
sync.go
|
@ -240,7 +240,7 @@ func (session *Session) SyncWithOptions(opts SyncOptions, beans ...interface{})
|
|||
}
|
||||
}
|
||||
|
||||
// drop all indices that do not exist in new schema
|
||||
// drop all indices that do not exist in new schema or have changed
|
||||
for name2, index2 := range oriTable.Indexes {
|
||||
if _, ok := foundIndexNames[name2]; !ok {
|
||||
// ignore based on there type
|
||||
|
|
Loading…
Reference in New Issue