This commit is contained in:
Dennis Eichhorn 2020-02-07 21:41:13 +01:00
parent fc2de03e19
commit 2ac9c44c92

View File

@ -51,11 +51,11 @@ final class ProfileMapper extends DataMapperAbstract
protected static array $ownsOne = [ protected static array $ownsOne = [
'account' => [ 'account' => [
'mapper' => AccountMapper::class, 'mapper' => AccountMapper::class,
'src' => 'profile_account_account', 'self' => 'profile_account_account',
], ],
'image' => [ 'image' => [
'mapper' => MediaMapper::class, 'mapper' => MediaMapper::class,
'src' => 'profile_account_image', 'self' => 'profile_account_image',
], ],
]; ];
@ -69,14 +69,14 @@ final class ProfileMapper extends DataMapperAbstract
'location' => [ 'location' => [
'mapper' => AddressMapper::class, 'mapper' => AddressMapper::class,
'table' => 'profile_address', 'table' => 'profile_address',
'dst' => 'profile_address_address', 'external' => 'profile_address_address',
'src' => 'profile_address_profile', 'self' => 'profile_address_profile',
], ],
'contactElements' => [ 'contactElements' => [
'mapper' => ContactElementMapper::class, 'mapper' => ContactElementMapper::class,
'table' => 'profile_contactelement', 'table' => 'profile_contactelement',
'src' => null, 'self' => null,
'dst' => 'profile_contactelement_contact', 'external' => 'profile_contactelement_contact',
], ],
]; ];