Project

General

Profile

Actions

Feature #81234

closed

TCA Schema Service

Added by Armin Vieweg almost 7 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2017-05-16
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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?)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #85160: Auto create management DB fields from TCA ctrlClosed2018-06-05

Actions
Actions

Also available in: Atom PDF