mirror of
https://github.com/hanzoai/otel-collector.git
synced 2026-11-03 02:20:04 +00:00
- Go module: github.com/SigNoz/signoz-otel-collector → github.com/hanzoai/otel-collector - All signoz-prefixed packages → o11y-prefixed - Docker: signoz/* → ghcr.io/hanzoai/otel-collector - ClickHouse exporter → Hanzo Datastore - Env vars: SIGNOZ_* → HANZO_* - Directory renames for all processor/receiver/exporter packages
18 lines
499 B
Go
18 lines
499 B
Go
package migrate
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
"go.uber.org/zap"
|
|
)
|
|
|
|
func registerSync(parentCmd *cobra.Command, logger *zap.Logger) {
|
|
syncCommand := &cobra.Command{
|
|
Use: "sync",
|
|
Short: "Runs 'sync' migrations for the store. Sync migrations are used to mutate schemas of the store. These migrations need to be successfully applied before bringing up the application.",
|
|
}
|
|
|
|
registerSyncCheck(syncCommand, logger)
|
|
registerSyncUp(syncCommand, logger)
|
|
parentCmd.AddCommand(syncCommand)
|
|
}
|