Revision 50a8e9b5
Von Werner Hahn vor 11 Monaten hinzugefügt
SL/DB/VariantProperty.pm | ||
---|---|---|
24 | 24 |
} |
25 | 25 |
); |
26 | 26 |
|
27 |
__PACKAGE__->meta->add_relationships( |
|
28 |
property_values => { |
|
29 |
type => 'one to many', |
|
30 |
class => 'SL::DB::VariantPropertyValue', |
|
31 |
column_map => { id => 'variant_property_id' }, |
|
32 |
}, |
|
33 |
); |
|
34 |
|
|
35 | 27 |
__PACKAGE__->meta->initialize; |
36 | 28 |
|
37 | 29 |
sub validate { |
Auch abrufbar als: Unified diff
Varianten: Doppelte Relation raus