Revision 4bcf8804
Von Sven Schöling vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/DunningConfig.pm | ||
---|---|---|
28 | 28 |
|
29 | 29 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
30 | 30 |
|
31 |
__PACKAGE__->meta->relationships( |
|
32 |
ar => { |
|
33 |
class => 'SL::DB::Invoice', |
|
34 |
column_map => { id => 'dunning_config_id' }, |
|
35 |
type => 'one to many', |
|
36 |
}, |
|
37 |
|
|
38 |
dunning => { |
|
39 |
class => 'SL::DB::Dunning', |
|
40 |
column_map => { id => 'dunning_config_id' }, |
|
41 |
type => 'one to many', |
|
42 |
}, |
|
43 |
); |
|
44 |
|
|
45 | 31 |
# __PACKAGE__->meta->initialize; |
46 | 32 |
|
47 | 33 |
1; |
Auch abrufbar als: Unified diff
MetaSetup: Folgerun um die Foreign Keys umzudrehen