Skip to content
Snippets Groups Projects
Commit 69a32356 authored by Nikita Hovratov's avatar Nikita Hovratov
Browse files

[FEATURE] Auto DB fields from TCA for type "radio"

Tables with TCA columns set to type="radio" do not
need an ext_tables.sql entry anymore. The core now
creates this field automatically.

This is one of many patches in this area: The v13 goal
is to obsolete ext_tables.sql in most cases by
creating default "business" fields of TCA tables
automatically.

The patch adds the main magic in class DefaultTcaSchema
and removes own ext_tables.sql definitions having
type=radio.

Note that values of type=radio can be both, integers
or strings. Items are checked for their values to
determine the best suited field type. These can
be varchar(255), smallint(6) or int(11).

Resolves: #102163
Related: #101553
Releases: main
Change-Id: Icd4e6b0f5554882617bec96c3446ff6d2f778c95
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81426


Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 8bde18db
No related merge requests found
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