[StepSettings]
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
The group [StepSettings] of settings/migration.ini.
File
settings/migration.ini; override it in settings/override/migration.ini.append.php, in a siteaccess or in an extension.
Settings
| Setting | Default | Description |
|---|---|---|
| StepTypeList[<key>] | reference=expMigrationStepReference; assert=expMigrationStepAssert; content=expMigrationStepContent; location=expMigrationStepLocation; content_version=expMigrationStepContentVersion; content_class=expMigrationStepContentClass; content_class_group=expMigrationStepContentClassGroup; user=expMigrationStepUser; user_group=expMigrationStepUserGroup; role=expMigrationStepRole; ... | The step types of YAML migrations: StepTypeList[<name>]=<class>, where <name> is what "type:" of a step names and the class implements expMigrationStepType. An extension registers its own in its migration.ini.append.php. |
| CommandAllowList[] | exp:services:compile; exp:graphql:persist; exp:help:content; exp:static:build | The console commands the step type command may run: exp:* commands of ./console, by name (exp:services:compile) or with * at the end for a group (exp:static:*). Nothing else runs, and exp:migration:* and exp:upgrade* never do (they take the lock the run holds). There is no shell: the command and its arguments are handed over as a list. |
| MaxLoopIterations | 1000 | The most turns a "while" loop of a YAML migration takes when it names no "max"; one more fails the migration. |
See also
Generated example: migration.ini [StepSettings]
Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/migration.ini.
Contributors
- Graham Brookins Updated
Comments
Add a comment