[TASK] Allow to omit tables in ext_tables.sql
We are auto-creating more and more table columns from TCA automatically with our works on #101553. ext_tables.sql can now end up defining no column of a table at all anymore. The schema parser currently stumbles when a table definition is completely left out in ext_tables.sql. The patch allows omitting a table definition in ext_tables.sql entirely. Resolves: #102085 Related: #101553 Releases: main Change-Id: I4d63250e3baa15e094f011ed21c813bc6cb12fb0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81181 Tested-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- typo3/sysext/core/Classes/Database/Schema/DefaultTcaSchema.php 18 additions, 33 deletions.../sysext/core/Classes/Database/Schema/DefaultTcaSchema.php
- typo3/sysext/core/Classes/Database/Schema/SchemaMigrator.php 19 additions, 6 deletionstypo3/sysext/core/Classes/Database/Schema/SchemaMigrator.php
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_flex_section_container/ext_tables.sql 0 additions, 2 deletions...res/Extensions/test_flex_section_container/ext_tables.sql
- typo3/sysext/core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php 13 additions, 0 deletions.../core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php
Please register or sign in to comment