UniStore: Add non interactive mode for CLI migration (#103407)
Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
This commit is contained in:
@@ -148,6 +148,13 @@ var adminCommands = []*cli.Command{
|
||||
Name: "to-unified-storage",
|
||||
Usage: "Migrates classic SQL data into unified storage",
|
||||
Action: runDbCommand(datamigrations.ToUnifiedStorage),
|
||||
Flags: []cli.Flag{
|
||||
&cli.BoolFlag{
|
||||
Name: "non-interactive",
|
||||
Usage: "Non interactive mode. Just run the migration.",
|
||||
Value: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user