Skip to content

Commit 5624e4b

Browse files
committed
docs: separate options for database sessions
1 parent f203918 commit 5624e4b

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

user_guide_src/source/dbmgmt/migration.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,17 @@ creates is the Pascal case version of the filename.
188188

189189
> php spark make:migration <class> [options]
190190

191-
You can use (make:migration) with the following options:
191+
You can use (``make:migration``) with the following options:
192+
193+
- ``--namespace`` - Set root namespace. Default: ``APP_NAMESPACE``.
194+
- ``--suffix`` - Append the component title to the class name.
195+
196+
The following options are also available to generate the migration file for
197+
database sessions:
192198

193199
- ``--session`` - Generates the migration file for database sessions.
194200
- ``--table`` - Table name to use for database sessions. Default: ``ci_sessions``.
195201
- ``--dbgroup`` - Database group to use for database sessions. Default: ``default``.
196-
- ``--namespace`` - Set root namespace. Default: ``APP_NAMESPACE``.
197-
- ``--suffix`` - Append the component title to the class name.
198202

199203
*********************
200204
Migration Preferences

0 commit comments

Comments
 (0)