Revision 68e4c3a2
Von Moritz Bunkus vor fast 11 Jahren hinzugefügt
SL/DB/MetaSetup/FollowUpAccess.pm | ||
---|---|---|
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
|
||
|
||
__PACKAGE__->meta->foreign_keys(
|
||
employee => {
|
||
to_follow_ups_by => {
|
||
class => 'SL::DB::Employee',
|
||
key_columns => { what => 'id' },
|
||
},
|
||
|
||
employee_obj => {
|
||
with_access => {
|
||
class => 'SL::DB::Employee',
|
||
key_columns => { who => 'id' },
|
||
},
|
Auch abrufbar als: Unified diff
FollowUp(Access)-Rose-Models: sinnvollere Namen für Relationships