#81234TCA Schema Service
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:
- Slot for tablesDefinitionIsBeingBuilt signal
- TcaSqlBuilder used in Slot
- Rules defining additional SQL, based on TCA configuration
- 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?)