Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f76b94a

Browse files
authored
Document drop -f in migrate -help (golang-migrate#459)
* Document drop -f in migrate -help * Document drop -f in migrate -help 2
1 parent 91deba8 commit f76b94a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/cli/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ Commands:
5454
goto V Migrate to version V
5555
up [N] Apply all or N up migrations
5656
down [N] Apply all or N down migrations
57-
drop Drop everything inside database
57+
drop [-f] Drop everything inside database
58+
Use -f to bypass confirmation
5859
force V Set version V but don't run migration (ignores dirty state)
5960
version Print current migration version
6061

0 commit comments

Comments
 (0)