TYPO3 dispatcher for database related operations.
Add new database definitions
php typo3/cli_dispatch.phpsh t3deploy database updateStructure --verbose --execute
Remove old database definitions
php typo3/cli_dispatch.phpsh t3deploy database updateStructure --remove --verbose --execute
Only report new database definitions and removals
php typo3/cli_dispatch.phpsh t3deploy database updateStructure --remove --verbose
Only report new database definitions and removals to file
php typo3/cli_dispatch.phpsh t3deploy database updateStructure --remove --verbose --dump-file update_dump.sql
Exclude the types drop_table and clear_table from update database definitions
php typo3/cli_dispatch.phpsh t3deploy database updateStructure --remove --verbose --excludes=drop_table,clear_table
Options
- --verbose (-v): Report changes
- --execute (-e): Execute changes (updates, removals)
- --remove (-r): Include structure differences for removal
- --drop-keys: Removes key modifications that will cause errors
- --dump-file: Dump changes to file
- --excludes: Exclude update types (add,change,create_table,change_table,drop,drop_table,clear_table)
TYPO3 7.6+
Oliver Hader, Daniel Poetzinger, Michael Klapper
See also the list of contributors who participated in this project.
Copyright: (c) 2012 - 2019, AOE GmbH License: GPLv3, http://www.gnu.org/licenses/gpl-3.0.en.html