30 lines
525 B
PHP
30 lines
525 B
PHP
<?php
|
|
|
|
$metadata->setAssociationOverride('address',
|
|
[
|
|
'joinColumns'=> [
|
|
[
|
|
'name' => 'adminaddress_id',
|
|
'referencedColumnName' => 'id',
|
|
]
|
|
]
|
|
]
|
|
);
|
|
|
|
$metadata->setAssociationOverride('groups',
|
|
[
|
|
'joinTable' => [
|
|
'name' => 'ddc964_users_admingroups',
|
|
'joinColumns' => [
|
|
[
|
|
'name' => 'adminuser_id',
|
|
]
|
|
],
|
|
|
|
'inverseJoinColumns' => [[
|
|
'name' => 'admingroup_id',
|
|
]]
|
|
]
|
|
]
|
|
);
|