We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eafda29 commit 0b47dfeCopy full SHA for 0b47dfe
1 file changed
system/Database/MigrationRunner.php
@@ -122,14 +122,11 @@ class MigrationRunner
122
protected $groupSkip = false;
123
124
/**
125
- * Constructor.
+ * The migration can manage multiple databases. So it should always use the
126
+ * default DB group so that it creates the `migrations` table in the default
127
+ * DB group. Therefore, passing $db is for testing purposes only.
128
*
- * When passing in $db, you may pass any of the following to connect:
- * - group name
129
- * - existing connection instance
130
- * - array of database configuration values
131
- *
132
- * @param array|ConnectionInterface|string|null $db
+ * @param array|ConnectionInterface|string|null $db DB group. For testing purposes only.
133
134
* @throws ConfigException
135
*/
0 commit comments