Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3d433e1f

Von Tamino Steinert vor 11 Monaten hinzugefügt

  • ID 3d433e1f69add82bd4c654e7ca6b1071a35e0c86
  • Vorgänger 9da868aa

Varianten: SQL-Scripte und ROSE-DB Dateien erstellt

Unterschiede anzeigen:

SL/DB/Part.pm
92 92
    class        => 'SL::DB::PurchaseBasketItem',
93 93
    column_map   => { id => 'part_id' },
94 94
  },
95
  varient_properties => {
96
    map_class => 'SL::DB::VarientPropertyPart',
97
    map_from  => 'part',
98
    map_to    => 'variant_property',
99
    type      => 'many to many',
100
  },
101
  varient_porperty_values => {
102
    map_class => 'SL::DB::VarientPropertyValuePart',
103
    map_from  => 'part',
104
    map_to    => 'variant_property_value',
105
    type      => 'many to many',
106
  },
107
  parent_variant => {
108
    map_class => 'SL::DB::PartParentVarientPartVarient',
109
    map_from  => 'variant',
110
    map_to    => 'parent_variant',
111
    type      => 'many to many', #should be 'many to one' but has no map_class
112
  },
113
  varients => {
114
    map_class => 'SL::DB::PartParentVarientPartVarient',
115
    map_from  => 'parent_variant',
116
    map_to    => 'variant',
117
    type      => 'many to many', #should be 'one to many' but has no map_class
118
  }
95 119
);
96 120

  
97 121
__PACKAGE__->meta->initialize;

Auch abrufbar als: Unified diff