package
2.7.11
Repository: https://github.com/influxdata/influxdb.git
Documentation: pkg.go.dev

# Functions

Up is a convenience methods which creates a migrator for all migrations and calls Up on it.
UpOnlyMigration is a migration with an up function and a noop down function.

# Variables

Migration0001_InitialMigration contains all the buckets created before the time of migrations in kv.
Migration0002_AddURMByUserIndex creates the URM by user index and populates missing entries based on the source.
Migration0003_TaskOwnerIDUpMigration adds missing owner IDs to some legacy tasks.
Migration0004_AddDbrpBuckets creates the buckets necessary for the DBRP Service to operate.
Migration0005_AddPkgerBuckets creates the buckets necessary for the pkger service to operate.
Migration0006_DeleteBucketSessionsv1 removes the sessionsv1 bucket from the backing kv store.
Migration0010_AddIndexTelegrafByOrg adds the index telegraf configs by organization ID.
Migration0011_PopulateDashboardsOwnerId backfills owner IDs on dashboards based on the presence of user resource mappings.
NOTE: Down() is purposefully left as a no-op here because this migration fills in values that were missing because of a logic bug, and doesn't actually modify the metadata schema.
Migrations contains all the migrations required for the entire of the kv store backing influxdb's metadata.

# Structs

Migration is a type which implements the migration packages Spec interface It can be used to conveniently create migration specs for the all package.

# Type aliases

MigrationFunc is a function which can be used as either an up or down operation.