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

Method Help

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

Source from the content-addressed store, hash-verified

11type SkipCommand struct{}
12
13func (*SkipCommand) Help() string {
14 helpText := `
15Usage: sql-migrate skip [options] ...
16
17 Set the database level to the most recent version available, without actually running the migrations.
18
19Options:
20
21 -config=dbconfig.yml Configuration file to use.
22 -env="development" Environment.
23 -limit=0 Limit the number of migrations (0 = unlimited).
24
25`
26 return strings.TrimSpace(helpText)
27}
28
29func (*SkipCommand) Synopsis() string {
30 return "Sets the database level to the most recent version available, without running the migrations"

Callers 1

RunMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected