-
-
Save bjrnqprs/48c2e693a66ca8f389c3 to your computer and use it in GitHub Desktop.
Typo3 Extbase: Proper way to declare mapping's of tableName and columns.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.tx_extbase { | |
persistence { | |
classes { | |
Vendor\MyPackage\Domain\Model\Organisation { | |
mapping { | |
columns { | |
tstamp.mapOnProperty = tstamp | |
hidden.mapOnProperty = hidden | |
crdate.mapOnProperty = crdate | |
cruser_id.mapOnProperty = cruserId | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the mapping to work in CommandControllers it is needed inside config.tx_extbase instead of plugin.tx_myext.