[FEATURE] Auto DB fields from TCA for type "flex"
Tables with TCA columns set to type="flex" do not need an ext_tables.sql entry anymore. The core now creates this field automatically. This is one of many patches in this area: The v13 goal is to obsolete ext_tables.sql in most cases by creating default "business" fields of TCA tables automatically. The patch adds the main magic in class DefaultTcaSchema and removes own ext_tables.sql definitions having type=flex. Resolves: #101997 Related: #101553 Releases: main Change-Id: Ide5458994cfbfca0113be08b0e87b51babaeb540 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81158 Reviewed-by:Nikita Hovratov <nikita.h@live.de> Tested-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com>
Showing
- typo3/sysext/core/Classes/Database/Schema/DefaultTcaSchema.php 23 additions, 7 deletions.../sysext/core/Classes/Database/Schema/DefaultTcaSchema.php
- typo3/sysext/core/Documentation/Changelog/13.0/Feature-101553-Auto-createDBFieldsFromTCAColumns.rst 1 addition, 0 deletions...13.0/Feature-101553-Auto-createDBFieldsFromTCAColumns.rst
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_flex_section_container/ext_tables.sql 0 additions, 1 deletion...res/Extensions/test_flex_section_container/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_foreignfield/ext_tables.sql 1 addition, 2 deletions...Fixtures/Extensions/test_irre_foreignfield/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_foreignfield_non_ws/ext_tables.sql 1 addition, 2 deletions...s/Extensions/test_irre_foreignfield_non_ws/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_select_flex_mm/ext_tables.sql 0 additions, 1 deletion...al/Fixtures/Extensions/test_select_flex_mm/ext_tables.sql
- typo3/sysext/core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php 22 additions, 0 deletions.../core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php
- typo3/sysext/core/ext_tables.sql 0 additions, 1 deletiontypo3/sysext/core/ext_tables.sql
- typo3/sysext/frontend/ext_tables.sql 0 additions, 1 deletiontypo3/sysext/frontend/ext_tables.sql
- typo3/sysext/impexp/Tests/Functional/Fixtures/ArrayAssertions/RenderPreviewImportPageAndRecordsByUpdateWithDiff.php 1 addition, 1 deletion...ons/RenderPreviewImportPageAndRecordsByUpdateWithDiff.php
- typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/pages-and-ttcontent-with-corrupt-image.xml 6 additions, 6 deletions...res/XmlExports/pages-and-ttcontent-with-corrupt-image.xml
- typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/pages-and-ttcontent-with-image-but-not-included.xml 6 additions, 6 deletions...ports/pages-and-ttcontent-with-image-but-not-included.xml
- typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/pages-and-ttcontent-with-image.xml 6 additions, 6 deletions...al/Fixtures/XmlExports/pages-and-ttcontent-with-image.xml
Please register or sign in to comment