exp:upgradesteps
Upgrade steps: the registered steps with id, stage, version, engines and description.
Script bin/php/upgradesteps.php, code in kernel/private/classes/commands/upgradesteps.php. Run it from the installation root, as the user the web server runs as:
./console exp:upgradesteps --help
./console exp:upgrade:steps --help
php bin/php/upgradesteps.php --helpHelp text
Upgrade steps
The registered upgrade steps in the order they run: id, stage, version, engines, owner (kernel
or the extension that registers it), whether it runs only when named (optional) and what it
does. Reads the settings only, never the database.
./console exp:upgrade:steps
./console exp:upgrade:steps --stage=database --engine=postgresql --format=jsonOptions
| Option | Value | Help |
|---|---|---|
--stage | required | Only the steps of this stage |
--engine | required | Only the steps for this engine: mysql, postgresql, sqlite, oracle, mongodb |
--format | required | text (default) or json (the machine output exp-upgrade/1) |
Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Related
Generated by ./console exp:help:examples from bin/php/upgradesteps.php, kernel/private/classes/commands/upgradesteps.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.