Review main Merged

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

Nikita Hovratov CR +2 V +2 Hard +306 −2 updated 10/16/23, 07:43

Commit message

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).

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 5