Skip to content

Commit

Permalink
[Backport 12.4] [TASK] Add missing note about auto-created DB fields …
Browse files Browse the repository at this point in the history
…from TCA in v12 (#821)

[TASK] Add missing note about auto-created DB fields from TCA in v12

Type "slug" has already this note, type "json" is not documented, yet.

See: https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.0/Feature-101553-Auto-createDBFieldsFromTCAColumns.html#impact
Releases: main, 12.4

Co-authored-by: Chris Müller <[email protected]>
  • Loading branch information
github-actions[bot] and brotkrueml authored Oct 15, 2023
1 parent 987b380 commit 272b118
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Documentation/ColumnsConfig/Type/Category/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ Category
as the :php:`ExtensionManagementUtility->makeCategorizable()`, which has required
creating a "TCA overrides" file.

.. versionadded:: 12.0
When using the `category` type, TYPO3 takes care of
:ref:`generating the according database field <t3coreapi:auto-generated-db-structure>`.
A developer does not need to define this field in an extension's
:file:`ext_tables.sql` file.

While using the type :php:`category`, TYPO3 takes care of generating the
necessary TCA configuration.
Developers only have to define the TCA column and add :php:`category` as the
Expand Down
11 changes: 8 additions & 3 deletions Documentation/ColumnsConfig/Type/Datetime/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@
Datetime
========

.. versionadded:: 12.0
The TCA type :php:`datetime` has been introduced. It replaces the
:php:`renderType=inputDateTime` of TCA type :php:`input`.
.. versionadded:: 12.0
The TCA type :php:`datetime` has been introduced. It replaces the
:php:`renderType=inputDateTime` of TCA type :php:`input`.

When using the `datetime` type, TYPO3 takes care of
:ref:`generating the according database field <t3coreapi:auto-generated-db-structure>`.
A developer does not need to define this field in an extension's
:file:`ext_tables.sql` file.

The TCA type :php:`datetime` should be used to input values representing a
date time or datetime.
Expand Down
6 changes: 6 additions & 0 deletions Documentation/ColumnsConfig/Type/Uuid/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ Uuid
====

.. versionadded:: 12.3
The TCA type :php:`uuid` has been introduced.

When using the `uuid` type, TYPO3 takes care of
:ref:`generating the according database field <t3coreapi:auto-generated-db-structure>`.
A developer does not need to define this field in an extension's
:file:`ext_tables.sql` file.

The main purpose of the TCA type :php:`uuid` is to simplify the TCA
configuration when working with fields containing a `UUID`_.
Expand Down

0 comments on commit 272b118

Please sign in to comment.