Skip to content

Commit eafda29

Browse files
committed
docs: add note for migrations table
1 parent 71a461e commit eafda29

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

user_guide_src/source/dbmgmt/migration.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Database Groups
6666
===============
6767

6868
A migration will only be run against a single database group. If you have multiple groups defined in
69-
**app/Config/Database.php**, then it will run against the ``$defaultGroup`` as specified
69+
**app/Config/Database.php**, then by default it will run against the ``$defaultGroup`` as specified
7070
in that same configuration file.
7171

7272
There may be times when you need different schemas for different
@@ -79,6 +79,9 @@ match the name of the database group exactly:
7979

8080
.. literalinclude:: migration/003.php
8181

82+
.. note:: The **migrations** table that tracks which migrations have already been
83+
run will be always created in the default database group.
84+
8285
Namespaces
8386
==========
8487

0 commit comments

Comments
 (0)