Revision 68e4c3a2
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/DB/MetaSetup/FollowUpAccess.pm | ||
---|---|---|
17 | 17 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
18 | 18 |
|
19 | 19 |
__PACKAGE__->meta->foreign_keys( |
20 |
employee => {
|
|
20 |
to_follow_ups_by => {
|
|
21 | 21 |
class => 'SL::DB::Employee', |
22 | 22 |
key_columns => { what => 'id' }, |
23 | 23 |
}, |
24 | 24 |
|
25 |
employee_obj => {
|
|
25 |
with_access => {
|
|
26 | 26 |
class => 'SL::DB::Employee', |
27 | 27 |
key_columns => { who => 'id' }, |
28 | 28 |
}, |
Auch abrufbar als: Unified diff
FollowUp(Access)-Rose-Models: sinnvollere Namen für Relationships