influxdb/kv/migration/all/0002_urm_by_user_index.go

10 lines
349 B
Go

package all
import (
"github.com/influxdata/influxdb/v2/kv"
"github.com/influxdata/influxdb/v2/tenant/index"
)
// Migration0002_AddURMByUserIndex creates the URM by user index and populates missing entries based on the source.
var Migration0002_AddURMByUserIndex = kv.NewIndexMigration(index.URMByUserIndexMapping, kv.WithIndexMigrationCleanup)