Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading