MCPcopy
hub / github.com/rubenv/sql-migrate / Help

Method Help

sql-migrate/command_redo.go:13–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11type RedoCommand struct{}
12
13func (*RedoCommand) Help() string {
14 helpText := `
15Usage: sql-migrate redo [options] ...
16
17 Reapply the last migration.
18
19Options:
20
21 -config=dbconfig.yml Configuration file to use.
22 -env="development" Environment.
23 -dryrun Don't apply migrations, just print them.
24
25`
26 return strings.TrimSpace(helpText)
27}
28
29func (*RedoCommand) Synopsis() string {
30 return "Reapply the last migration"

Callers 1

RunMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected