Skip to content
Snippets Groups Projects
Commit aeb4eb65 authored by Christian Kuhn's avatar Christian Kuhn Committed by Stefan B�rk
Browse files

[TASK] Allow table without columns in ext_tables.sql

When core DefaultTcaSchema auto creates more and more
column definitions, ext_tables.sql can end up with
a table definition without columns:

CREATE TABLE tx_foo (
);

This would be invalid as such in most DBMS since
tables usually must have at least one column.

However, it is a valid definition in the scope of
ext_tables.sql files when the core enriches fields
from TCA.

The parser currently chokes on tables without
columns, which is fixed with the patch.

Resolves: #101623
Related: #101553
Releases: main
Change-Id: Icab369bff6a93e6c293803ed2dfb3473b41d8a97
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80465


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan B�rk <stefan@buerk.tech>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarStefan B�rk <stefan@buerk.tech>
parent 8932bcf5
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