Revision 4bcf8804
Von Sven Schöling vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/FollowUp.pm | ||
---|---|---|
33 | 33 |
class => 'SL::DB::Employee', |
34 | 34 |
key_columns => { created_by => 'id' }, |
35 | 35 |
}, |
36 |
); |
|
37 | 36 |
|
38 |
__PACKAGE__->meta->relationships( |
|
39 |
follow_up_links => { |
|
40 |
class => 'SL::DB::FollowUpLink', |
|
41 |
column_map => { id => 'follow_up_id' }, |
|
42 |
type => 'one to many', |
|
37 |
note => { |
|
38 |
class => 'SL::DB::Note', |
|
39 |
key_columns => { note_id => 'id' }, |
|
43 | 40 |
}, |
44 | 41 |
); |
45 | 42 |
|
Auch abrufbar als: Unified diff
MetaSetup: Folgerun um die Foreign Keys umzudrehen