aboutsummaryrefslogtreecommitdiffstats
path: root/internal/commands/migrate.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/commands/migrate.go')
-rw-r--r--internal/commands/migrate.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/internal/commands/migrate.go b/internal/commands/migrate.go
index 7c7a228..8c86291 100644
--- a/internal/commands/migrate.go
+++ b/internal/commands/migrate.go
@@ -13,20 +13,20 @@ import (
"github.com/google/subcommands"
)
-type MigrateCmd struct{}
+type UpgradeCmd struct{}
-func (*MigrateCmd) Name() string { return "migrate" }
+func (*UpgradeCmd) Name() string { return "upgrade" }
-func (*MigrateCmd) Synopsis() string { return "Migrate the database to the latest migration." }
-func (*MigrateCmd) Usage() string {
- return `migrate:
- Migrate the database to the latest migration.
+func (*UpgradeCmd) Synopsis() string { return "Upgrade the database to the latest migration." }
+func (*UpgradeCmd) Usage() string {
+ return `upgrade:
+ Upgrade the database to the latest migration.
`
}
-func (m *MigrateCmd) SetFlags(f *flag.FlagSet) {}
+func (m *UpgradeCmd) SetFlags(f *flag.FlagSet) {}
-func (m *MigrateCmd) Execute(
+func (m *UpgradeCmd) Execute(
_ context.Context,
f *flag.FlagSet,
_ ...interface{},