powermail icon indicating copy to clipboard operation
powermail copied to clipboard

TCA: Auto create management DB fields

Open julianhofmann opened this issue 8 months ago • 0 comments

In "Check TCA Migrations" there are multiple entries about the obsolete configuration of starttime/endtime fields.

Example:

The TCA field 'endtime' of table 'tx_powermail_domain_model_answer' defines renderType="inputDateTime". The field has therefore been migrated to the TCA type 'datetime'. This includes corresponding migration of the "eval" list, as well as obsolete field configurations, such as "max". Please adjust your TCA accordingly.

Since TYPO3 v9, TYPO3 can take care of the management DB fields itself. So there's no need for proper configuration - we can pass this job just to the Core. Less code - less code to maintain, less problems ;-)

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/9.3/Feature-85160-AutoCreateManagementDBFieldsFromTCACtrl.html

julianhofmann avatar Jun 13 '24 08:06 julianhofmann