Hi,

I am working on a new project based on Contao 3

I need to define a UNIQUE KEY based on multiple fields

e.g.

Code:
UNIQUE KEY `my_key` (`pid`, `field1`, `field2`)
according to DcaExtractor class

https://github.com/contao/core/blob/...actor.php#L247

seems there is no way to define a multiple key index using the dca syntax

Code:
$GLOBALS['TL_DCA']['__table__']['config']['sql']['keys']
anyone has encountered into this problem and fixed it?

thanks