Skip to content

Commit 4f65e0a

Browse files
authored
Merge pull request #5448 from kenjis/fix-docs-migration.rst
docs: improve migration.rst
2 parents f1a347f + 641873b commit 4f65e0a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

user_guide_src/source/dbmgmt/migration.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,13 @@ You can use (migrate) with the following options:
199199

200200
- ``-g`` - to chose database group, otherwise default database group will be used.
201201
- ``-n`` - to choose namespace, otherwise (App) namespace will be used.
202-
- ``-all`` - to migrate all namespaces to the latest migration
202+
- ``--all`` - to migrate all namespaces to the latest migration
203203

204-
This example will migrate Blog namespace with any new migrations on the test database group::
204+
This example will migrate ``Acme\Blog`` namespace with any new migrations on the test database group::
205205

206-
> php spark migrate -g test -n Blog
206+
> php spark migrate -g test -n 'Acme\Blog'
207207

208-
When using the ``-all`` option, it will scan through all namespaces attempting to find any migrations that have
208+
When using the ``--all`` option, it will scan through all namespaces attempting to find any migrations that have
209209
not been run. These will all be collected and then sorted as a group by date created. This should help
210210
to minimize any potential conflicts between the main application and any modules.
211211

@@ -231,7 +231,7 @@ You can use (refresh) with the following options:
231231

232232
- ``-g`` - to choose database group, otherwise default database group will be used.
233233
- ``-n`` - to choose namespace, otherwise (App) namespace will be used.
234-
- ``-all`` - to refresh all namespaces
234+
- ``--all`` - to refresh all namespaces
235235
- ``-f`` - to force a bypass confirmation question, it is only asked in a production environment
236236

237237
**status**

0 commit comments

Comments
 (0)