[TYPO3-dev] Re: Table Mapping Question

Philipp Wrann philippwrann at gmail.com
Wed Aug 12 16:18:45 CEST 2015


Its like

tx_<extensionkey>_domain_model_<modelname>

extensionkey = lowercase and no underscore, so an Extension called TestExtension would become testextension and not test_extension
modelname is the same - lowercase, no underscore

You can modify that behaviour by adding the tablemapping to a file called ext_typoscript_setup.txt in the extRoot.

There you can place

config.tx_extbase.persistence.classes.Vendor\Extension\Domain\Model\Foo.mapping.tableName = special_tablename





More information about the TYPO3-dev mailing list