Skip to content

Commit

Permalink
Improve migration handler
Browse files Browse the repository at this point in the history
Signed-off-by: arekkas <[email protected]>
  • Loading branch information
arekkas committed Oct 8, 2018
1 parent 8ea5078 commit 17412ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlcon/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type SchemaCreator interface {

func MigratorSQLCmd(path, name string, logger logrus.FieldLogger, runners map[string]SchemaCreator) *cobra.Command {
c := &cobra.Command{
Use: name + "<database-url>",
Use: name + " <database-url>",
Short: "Creates database schemas and applies SQL migration plans",
Long: `This command creates SQL schemas and applies migration plans. Running this command will upgrade the database
to the latest schema available in the binary.
Expand Down

0 comments on commit 17412ea

Please sign in to comment.