MCPcopy Index your code
hub / github.com/rubenv/sql-migrate / Help

Method Help

sql-migrate/command_new.go:23–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21type NewCommand struct{}
22
23func (*NewCommand) Help() string {
24 helpText := `
25Usage: sql-migrate new [options] name
26
27 Create a new a database migration.
28
29Options:
30
31 -config=dbconfig.yml Configuration file to use.
32 -env="development" Environment.
33 name The name of the migration
34`
35 return strings.TrimSpace(helpText)
36}
37
38func (*NewCommand) Synopsis() string {
39 return "Create a new migration"

Callers 1

RunMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected