mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix handling of indices with multiple columns (mysql)
This commit is contained in:
@@ -8,7 +8,7 @@ type MigrationCondition interface {
|
||||
type ExistsMigrationCondition struct{}
|
||||
|
||||
func (c *ExistsMigrationCondition) IsFulfilled(results []map[string][]byte) bool {
|
||||
return len(results) == 1
|
||||
return len(results) >= 1
|
||||
}
|
||||
|
||||
type NotExistsMigrationCondition struct{}
|
||||
|
||||
Reference in New Issue
Block a user