Revision 16b51ad1
Von Werner Hahn vor etwa 1 Jahr hinzugefügt
| SL/DB/VariantProperty.pm | ||
|---|---|---|
|   }
 | ||
| );
 | ||
|  | ||
| __PACKAGE__->meta->add_relationships(
 | ||
|   property_values => {
 | ||
|     type         => 'one to many',
 | ||
|     class        => 'SL::DB::VariantPropertyValue',
 | ||
|     column_map   => { id => 'variant_property_id' },
 | ||
|   },
 | ||
| );
 | ||
|  | ||
| __PACKAGE__->meta->initialize;
 | ||
|  | ||
| sub validate {
 | ||
Auch abrufbar als: Unified diff
Varianten: Doppelte Relation raus