DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

t3deploy

TYPO3 dispatcher for database related operations.

Build information

Build Status Code Coverage

Usage

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)

Requirements

TYPO3 6.2+

Authors

Oliver Hader, Daniel Poetzinger, Michael Klapper

See also the list of contributors who participated in this project.