Skip to content
Snippets Groups Projects
Commit 32eae43d authored by Oliver Wand's avatar Oliver Wand Committed by Stefan B�rk
Browse files

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

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

This is the first patch 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=file.
It goes through various functional test related .csv
fields, and adapts a broken TCA configuration in the
blog_example fixture extension revealed by this change.

Resolves: #101571
Related: #101553
Releases: main
Change-Id: Iae2c4bad2a0dc54628a8862b0c39f4913b0c5892
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80374


Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarStefan B�rk <stefan@buerk.tech>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarStefan B�rk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent 7c949cb3
Branches
Tags
Showing
with 170 additions and 66 deletions
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