mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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
Block a user