From 0f3bf8b87d409e7c55c99c7bc40f4807f4209bd3 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Shelton" Date: Thu, 22 Oct 2026 21:23:35 -0600 Subject: [PATCH] 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. --- cmd/bot/main.go | 1 + internal/commands/install.go | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/cmd/bot/main.go b/cmd/bot/main.go index bfe4f35..35ba88d 100644 --- a/cmd/bot/main.go +++ b/cmd/bot/main.go @@ -116,6 +116,7 @@ func main() { { Name: "up", Description: `Perform upgrade.`, + Action: cmdHost.Initalizer().DoUp, }, { Name: "down", diff --git a/internal/commands/install.go b/internal/commands/install.go index a590e68..08d03da 100644 --- a/internal/commands/install.go +++ b/internal/commands/install.go @@ -48,3 +48,7 @@ func (inst *installer) DoInstall(ctx context.Context, cmd *cli.Command) error { } return nil } + +func (inst *installer) DoUp(ctx context.Context, cmd *cli.Command) error { + return inst.DoInstall(ctx, cmd) +}