[!!!][FEATURE] Finetune SQL autocreation of TCA fields type "datetime"
This patch tries to address the issue of several core DB fields being set to 'integer signed' (1901 to 2038), specifically: * `be_users.lastlogin` * `fe_users.lastlogin` * `pages.lastUpdated` * `pages.newUntil` * `sys_redirect.lasthiton` * `index_config.timer_next_indexing` * `tx_extensionmanager_domain_model_extension.last_updated` * `sys_workspace.publish_time` These fields currently have a cut-off for 2038. Those are now changed to 'bigint unsigned' and can survive until 2106. Additionally, these fields: * `sys_file_metadata.content_creation_date` * `tt_content.date` did not allow any dates before 1901, however certain systems might want to use FAL metadata of i.e. 1799 (historical paintings), or content elements of historic sites. Resolves: #99937 Related: #101553 Releases: main Change-Id: I56e747aba166dc4eaf5b5b603d9b161bb56b5f85 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80668 Tested-by:Stefan Bürk <stefan@buerk.tech> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- typo3/sysext/core/Classes/Database/Schema/DefaultTcaSchema.php 19 additions, 1 deletion.../sysext/core/Classes/Database/Schema/DefaultTcaSchema.php
- typo3/sysext/core/Configuration/TCA/be_users.php 1 addition, 1 deletiontypo3/sysext/core/Configuration/TCA/be_users.php
- typo3/sysext/core/Configuration/TCA/pages.php 1 addition, 1 deletiontypo3/sysext/core/Configuration/TCA/pages.php
- typo3/sysext/core/Configuration/TCA/sys_category.php 1 addition, 1 deletiontypo3/sysext/core/Configuration/TCA/sys_category.php
- typo3/sysext/core/Configuration/TCA/sys_file_collection.php 1 addition, 1 deletiontypo3/sysext/core/Configuration/TCA/sys_file_collection.php
- typo3/sysext/core/Documentation/Changelog/13.0/Breaking-99937-DateTimeTCAFieldsToBigint.rst 68 additions, 0 deletions...angelog/13.0/Breaking-99937-DateTimeTCAFieldsToBigint.rst
- typo3/sysext/core/Documentation/Changelog/13.0/Feature-101553-Auto-createDBFieldsFromTCAColumns.rst 3 additions, 1 deletion...13.0/Feature-101553-Auto-createDBFieldsFromTCAColumns.rst
- typo3/sysext/core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php 151 additions, 0 deletions.../core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php
- typo3/sysext/frontend/Configuration/TCA/fe_users.php 1 addition, 1 deletiontypo3/sysext/frontend/Configuration/TCA/fe_users.php
- typo3/sysext/frontend/Configuration/TCA/sys_template.php 1 addition, 1 deletiontypo3/sysext/frontend/Configuration/TCA/sys_template.php
- typo3/sysext/frontend/Configuration/TCA/tt_content.php 1 addition, 1 deletiontypo3/sysext/frontend/Configuration/TCA/tt_content.php
- typo3/sysext/reactions/Configuration/TCA/sys_reaction.php 1 addition, 1 deletiontypo3/sysext/reactions/Configuration/TCA/sys_reaction.php
- typo3/sysext/redirects/Configuration/TCA/sys_redirect.php 1 addition, 1 deletiontypo3/sysext/redirects/Configuration/TCA/sys_redirect.php
- typo3/sysext/styleguide/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatTime.php 3 additions, 1 deletion...caDataGenerator/FieldGenerator/TypeDatetimeFormatTime.php
- typo3/sysext/styleguide/Classes/TcaDataGenerator/FieldGenerator/TypeDatetimeFormatTimesec.php 3 additions, 1 deletion...ataGenerator/FieldGenerator/TypeDatetimeFormatTimesec.php
- typo3/sysext/styleguide/Configuration/TCA/tx_styleguide_ctrl_common.php 1 addition, 1 deletion...tyleguide/Configuration/TCA/tx_styleguide_ctrl_common.php
- typo3/sysext/webhooks/Configuration/TCA/sys_webhook.php 1 addition, 1 deletiontypo3/sysext/webhooks/Configuration/TCA/sys_webhook.php
Please register or sign in to comment