mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-11 23:50:04 +01:00
Add alias for new command
This commit is contained in:
parent
1fecc07f5c
commit
b2ca8aad36
1 changed files with 4 additions and 3 deletions
7
main.go
7
main.go
|
|
@ -41,9 +41,10 @@ func NewApp() *cli.App {
|
||||||
|
|
||||||
app.Commands = []cli.Command{
|
app.Commands = []cli.Command{
|
||||||
{
|
{
|
||||||
Name: "new",
|
Name: "new",
|
||||||
Usage: "Generate a new migration file",
|
Aliases: []string{"n"},
|
||||||
Action: NewCommand,
|
Usage: "Generate a new migration file",
|
||||||
|
Action: NewCommand,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "up",
|
Name: "up",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue