[FEATURE] Auto create DB fields from TCA for type "input"
Tables with TCA columns set to type="input" 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=input. Resolves: #102279 Related: #101553 Releases: main Change-Id: Ia371638bb10d0521cec01542e3a5fc7a364609f1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83183 Reviewed-by:Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- typo3/sysext/backend/Tests/Functional/Fixtures/Extensions/test_tca_select_items/ext_tables.sql 3 additions, 6 deletions.../Fixtures/Extensions/test_tca_select_items/ext_tables.sql
- typo3/sysext/backend/Tests/Functional/Fixtures/Extensions/test_tca_select_tree_items/ext_tables.sql 0 additions, 5 deletions...ures/Extensions/test_tca_select_tree_items/ext_tables.sql
- typo3/sysext/backend/ext_tables.sql 1 addition, 3 deletionstypo3/sysext/backend/ext_tables.sql
- typo3/sysext/core/Classes/Database/Schema/DefaultTcaSchema.php 20 additions, 0 deletions.../sysext/core/Classes/Database/Schema/DefaultTcaSchema.php
- typo3/sysext/core/Configuration/TCA/sys_file_reference.php 4 additions, 0 deletionstypo3/sysext/core/Configuration/TCA/sys_file_reference.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/Category/Collection/Fixtures/Extensions/test_tca/ext_tables.sql 1 addition, 3 deletions...ry/Collection/Fixtures/Extensions/test_tca/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Database/Fixtures/Extensions/test_expressionbuilder/ext_tables.sql 1 addition, 3 deletions...Fixtures/Extensions/test_expressionbuilder/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler/Configuration/TCA/Overrides/tt_content.php 2 additions, 0 deletions...st_datahandler/Configuration/TCA/Overrides/tt_content.php
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler/ext_tables.sql 0 additions, 14 deletions...ional/Fixtures/Extensions/test_datahandler/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler_slug/ext_tables.sql 0 additions, 6 deletions.../Fixtures/Extensions/test_datahandler_slug/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_csv/ext_tables.sql 0 additions, 27 deletions...nctional/Fixtures/Extensions/test_irre_csv/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_foreignfield/ext_tables.sql 0 additions, 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 3 additions, 3 deletions...s/Extensions/test_irre_foreignfield_non_ws/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mm/ext_tables.sql 0 additions, 14 deletions...unctional/Fixtures/Extensions/test_irre_mm/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mnattributeinline/ext_tables.sql 1 addition, 37 deletions...res/Extensions/test_irre_mnattributeinline/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mnattributesimple/ext_tables.sql 1 addition, 10 deletions...res/Extensions/test_irre_mnattributesimple/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mnsymmetric/ext_tables.sql 1 addition, 5 deletions.../Fixtures/Extensions/test_irre_mnsymmetric/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_select_flex_mm/ext_tables.sql 0 additions, 7 deletions...al/Fixtures/Extensions/test_select_flex_mm/ext_tables.sql
- typo3/sysext/core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php 72 additions, 0 deletions.../core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php
Please register or sign in to comment