From 37171c705ea9b7ea6cf7da6fa4c96e3d3d2461cd Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 9 Nov 2010 08:46:54 +0100 Subject: [PATCH] =?utf8?q?Verkn=C3=BCpfung=20zu=20Preisfaktoren=20erg?= =?utf8?q?=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Part.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SL/DB/Part.pm b/SL/DB/Part.pm index ce9738f32..4c3f4633a 100644 --- a/SL/DB/Part.pm +++ b/SL/DB/Part.pm @@ -23,6 +23,11 @@ __PACKAGE__->meta->add_relationships( class => 'SL::DB::PartsGroup', column_map => { partsgroup_id => 'id' }, }, + price_factor => { + type => 'one to one', + class => 'SL::DB::PriceFactor', + column_map => { price_factor_id => 'id' }, + }, ); __PACKAGE__->meta->initialize; -- 2.20.1