Skip to content

Commit 47ef1cb

Browse files
committed
docs: add sample command for Windows
1 parent f9cc308 commit 47ef1cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

user_guide_src/source/dbmgmt/seeds.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,12 @@ Using the command line, you can easily generate seed files.
6565

6666
You can supply the ``root`` namespace where the seed file will be stored by supplying the ``--namespace`` option::
6767

68+
For Unix:
6869
> php spark make:seeder MySeeder --namespace Acme\\Blog
6970

71+
For Windows:
72+
> php spark make:seeder MySeeder --namespace Acme\Blog
73+
7074
If ``Acme\Blog`` is mapped to **app/Blog** directory, then this command will generate **MySeeder.php** at **app/Blog/Database/Seeds** directory.
7175

7276
Supplying the ``--force`` option will overwrite existing files in destination.

0 commit comments

Comments
 (0)