Revision ee8f7556
Von Thomas Heck vor mehr als 11 Jahren hinzugefügt
SL/DB/Note.pm | ||
---|---|---|
12 | 12 |
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. |
13 | 13 |
__PACKAGE__->meta->make_manager_class; |
14 | 14 |
|
15 |
__PACKAGE__->meta->add_relationships( |
|
16 |
followup => { |
|
17 |
type => 'one to one', |
|
18 |
class => 'SL::DB::FollowUp', |
|
19 |
column_map => { id => 'id' }, |
|
20 |
}, |
|
21 |
); |
|
22 |
|
|
15 | 23 |
1; |
Auch abrufbar als: Unified diff
Relation zw. Note und FollowUp eingetragen