Review main Merged

81488[FEATURE] Auto create DB fields from TCA for type "inline"

Anja Leichsenring CR +2 V +2 Expert +577 −462 updated 10/22/23, 12:11

Commit message

Tables with TCA columns set to type="inline" 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=inline.

If the child side definition is set as any of

 * foreign_table_field
 * foreign_field

and TCA of those fields is absent or set to type="passthrough",
also those child relation SQL definition is autogenerated and
can be removed from ext_tables.sql file.

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 23

Show 3 more files