Rename up command to migrate

This commit is contained in:
Adrian Macneil 2015-11-25 11:04:00 -08:00
parent 9cfc758ca1
commit 99a4f266e6
2 changed files with 4 additions and 10 deletions

10
main.go
View file

@ -25,16 +25,10 @@ func main() {
app.Commands = []cli.Command{
{
Name: "up",
Name: "migrate",
Usage: "Migrate to the latest version",
Action: func(ctx *cli.Context) {
runCommand(UpCommand, ctx)
},
Flags: []cli.Flag{
cli.BoolFlag{
Name: "pretend, p",
Usage: "don't do anything; print migrations to apply",
},
runCommand(MigrateCommand, ctx)
},
},
{