[TASK] Have TEXT for type=input length > 255
Long VARCHAR() fields tend to eat up quite a bit of "65k bytes maximum row size" space, especially with utf8mb4. The patch changes TCA type="input" fields longer than 255 chars from VARCHAR() to TEXT (65k bytes). This looks like a sane tradeoff between limits and storage efficiency. Extension authors who need or want to override default TCA schema details for whatever reason, can of course do so by defining something specific in ext_tables.sql. Resolves: #104146 Related: #101553 Related: #104098 Releases: main Change-Id: I4a0b38e84ac1f12c9605c48188c6f28b400c59ca Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84774 Reviewed-by:Garvin Hicking <gh@faktor-e.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Oliver Wand <wand@itaw.de> Tested-by:
Garvin Hicking <gh@faktor-e.de>
Showing
- typo3/sysext/core/Classes/Database/Schema/DefaultTcaSchema.php 14 additions, 2 deletions.../sysext/core/Classes/Database/Schema/DefaultTcaSchema.php
- typo3/sysext/core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php 51 additions, 2 deletions.../core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php
Please register or sign in to comment