Issue Feature Closed

#81234TCA Schema Service

Armin Vieweg 05/16/17, 16:50 updated 03/06/20, 09:26

Description

Introducing new TCA Schema Service which creates system columns in database (like “uid” or “hidden”, etc.) automatically, based on given TCA configurations.
The feature uses the tablesDefinitionIsBeingBuilt signal to modify expected SQL structure during database compare.

TCA Schema Service has these components:

  1. Slot for tablesDefinitionIsBeingBuilt signal
  2. TcaSqlBuilder used in Slot
  3. Rules defining additional SQL, based on TCA configuration
Currently these rules are existing:
  • Ctrl\BaseRule
  • Ctrl\EnableColumnsRule
  • Ctrl\LocalizationsRule
  • Ctrl\VersioningWorkspaceRule

They get currently registred hardcoded in \TYPO3\CMS\Core\DataHandling\TcaSchemaService\TcaSqlBuilder.
TODO: Possibility to extend TCA rules (maybe with a new Signal?)

Reviews 1