Skip to content

Commit 1ee9b5c

Browse files
authored
Merge pull request #7140 from kenjis/fix-docs-cli-namespace
docs: fix namespace in CLI option
2 parents c19bf21 + 0cd7861 commit 1ee9b5c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/dbmgmt/migration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ You can use (migrate) with the following options:
128128

129129
This example will migrate ``Acme\Blog`` namespace with any new migrations on the test database group::
130130

131-
> php spark migrate -g test -n 'Acme\Blog'
131+
> php spark migrate -g test -n Acme\\Blog
132132

133133
When using the ``--all`` option, it will scan through all namespaces attempting to find any migrations that have
134134
not been run. These will all be collected and then sorted as a group by date created. This should help

user_guide_src/source/dbmgmt/seeds.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Using the command line, you can easily generate seed files.
5454

5555
You can supply the **root** namespace where the seed file will be stored by supplying the ``--namespace`` option::
5656

57-
> php spark make:seeder MySeeder --namespace Acme\Blog
57+
> php spark make:seeder MySeeder --namespace Acme\\Blog
5858

5959
If ``Acme\Blog`` is mapped to ``app/Blog`` directory, then this command will generate ``MySeeder.php`` at ``app/Blog/Database/Seeds`` directory.
6060

0 commit comments

Comments
 (0)