aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/migrate.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/migrate.go')
-rw-r--r--cmd/migrate.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/migrate.go b/cmd/migrate.go
index efa791bc65..4e4dd45af3 100644
--- a/cmd/migrate.go
+++ b/cmd/migrate.go
@@ -11,11 +11,11 @@ import (
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
- "github.com/urfave/cli"
+ "github.com/urfave/cli/v2"
)
// CmdMigrate represents the available migrate sub-command.
-var CmdMigrate = cli.Command{
+var CmdMigrate = &cli.Command{
Name: "migrate",
Usage: "Migrate the database",
Description: "This is a command for migrating the database, so that you can run gitea admin create-user before starting the server.",