mirror of https://github.com/grafana/grafana.git
Chore: Prevent xorm from interfering with indexes (#94790)
prevent xorm from interfering with indexes
This commit is contained in:
parent
e8f23bb2cf
commit
e462974359
|
|
@ -286,8 +286,6 @@ func (engine *Engine) loadTableInfo(table *core.Table) error {
|
|||
for _, name := range index.Cols {
|
||||
if col := table.GetColumn(name); col != nil {
|
||||
col.Indexes[index.Name] = index.Type
|
||||
} else {
|
||||
return fmt.Errorf("unknown col %s in index %v of table %v, columns %v", name, index.Name, table.Name, table.ColumnsSeq())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue