Added migrate up which is just a passthrough for what the installer
does (for now). Eventually, this will be turned into a proper migration channel.
This commit is contained in:
parent
723da36d02
commit
0f3bf8b87d
2 changed files with 5 additions and 0 deletions
|
|
@ -116,6 +116,7 @@ func main() {
|
||||||
{
|
{
|
||||||
Name: "up",
|
Name: "up",
|
||||||
Description: `Perform upgrade.`,
|
Description: `Perform upgrade.`,
|
||||||
|
Action: cmdHost.Initalizer().DoUp,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "down",
|
Name: "down",
|
||||||
|
|
|
||||||
|
|
@ -48,3 +48,7 @@ func (inst *installer) DoInstall(ctx context.Context, cmd *cli.Command) error {
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (inst *installer) DoUp(ctx context.Context, cmd *cli.Command) error {
|
||||||
|
return inst.DoInstall(ctx, cmd)
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue