Revision 2d908c13
Von Werner Hahn vor 5 Tagen 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