Skip to content

Commit 9686968

Browse files
Added two notes to migrate:refresh command
`-p` option is unavailable, and `-s` option only applies to the `migrate:rollback` step
1 parent 4bbda2d commit 9686968

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pages/11.cli/01.commands/docs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ $ php bakery migrate:refresh [options]
320320
| -d, --database=DATABASE | The database connection to use |
321321
| -s, --steps=STEPS | Number of steps to rollback [default: 1] |
322322

323+
[notice=warning]Using the `-s` option will rollback that number of steps, but will migrate them back up in a single step.[/notice]
324+
[notice=info]Unlike other migrate commands, `migrate:refresh` does NOT accept the `-p` or `--pretend` option.[/notice]
323325

324326
### migrate:status
325327

0 commit comments

Comments
 (0)