Skip to content
Snippets Groups Projects
Commit e1f856d9 authored by Garvin Hicking's avatar Garvin Hicking Committed by Stefan Bürk
Browse files

[!!!][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: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent a15bc316
Branches
Tags
Showing
with 258 additions and 15 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment