[FEATURE] Auto create DB fields from TCA for type "select"
Tables with TCA columns set to type="select" 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=select. Resolves: #102279 Related: #101553 Releases: main Change-Id: I600d0be1b2452b93d46c6b0d8317460607988fee Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81604 Reviewed-by:Garvin Hicking <gh@faktor-e.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- typo3/sysext/backend/Tests/Functional/Fixtures/Extensions/test_tca_select_items/Configuration/TCA/tca_select_items.php 1 addition, 0 deletions...t_tca_select_items/Configuration/TCA/tca_select_items.php
- typo3/sysext/backend/Tests/Functional/Fixtures/Extensions/test_tca_select_items/ext_tables.sql 0 additions, 2 deletions.../Fixtures/Extensions/test_tca_select_items/ext_tables.sql
- typo3/sysext/backend/Tests/Functional/Fixtures/Extensions/test_tca_select_tree_items/Configuration/TCA/tca_select_tree_items.php 1 addition, 0 deletions...ct_tree_items/Configuration/TCA/tca_select_tree_items.php
- 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/core/Classes/Database/Schema/DefaultTcaSchema.php 122 additions, 0 deletions.../sysext/core/Classes/Database/Schema/DefaultTcaSchema.php
- typo3/sysext/core/Configuration/TCA/be_groups.php 1 addition, 0 deletionstypo3/sysext/core/Configuration/TCA/be_groups.php
- typo3/sysext/core/Configuration/TCA/be_users.php 2 additions, 0 deletionstypo3/sysext/core/Configuration/TCA/be_users.php
- typo3/sysext/core/Configuration/TCA/pages.php 2 additions, 0 deletionstypo3/sysext/core/Configuration/TCA/pages.php
- typo3/sysext/core/Documentation/Changelog/13.0/Feature-101553-Auto-createDBFieldsFromTCAColumns.rst 27 additions, 0 deletions...13.0/Feature-101553-Auto-createDBFieldsFromTCAColumns.rst
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler/ext_tables.sql 0 additions, 2 deletions...ional/Fixtures/Extensions/test_datahandler/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mnattributeinline/ext_tables.sql 0 additions, 2 deletions...res/Extensions/test_irre_mnattributeinline/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mnattributesimple/ext_tables.sql 0 additions, 3 deletions...res/Extensions/test_irre_mnattributesimple/ext_tables.sql
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mnsymmetric/ext_tables.sql 0 additions, 2 deletions.../Fixtures/Extensions/test_irre_mnsymmetric/ext_tables.sql
- typo3/sysext/core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php 293 additions, 0 deletions.../core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php
- typo3/sysext/core/ext_tables.sql 2 additions, 33 deletionstypo3/sysext/core/ext_tables.sql
- typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/ext_tables.sql 0 additions, 9 deletions...unctional/Fixtures/Extensions/blog_example/ext_tables.sql
- typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/parent_child_translation/ext_tables.sql 0 additions, 2 deletions...xtures/Extensions/parent_child_translation/ext_tables.sql
- typo3/sysext/extbase/ext_tables.sql 2 additions, 6 deletionstypo3/sysext/extbase/ext_tables.sql
- typo3/sysext/filemetadata/Configuration/TCA/Overrides/sys_file_metadata.php 2 additions, 0 deletions...etadata/Configuration/TCA/Overrides/sys_file_metadata.php
- typo3/sysext/filemetadata/ext_tables.sql 1 addition, 10 deletionstypo3/sysext/filemetadata/ext_tables.sql
Please register or sign in to comment