X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=SL%2FDB%2FMetaSetup%2FPart.pm;h=ef6ed69f5aaee46b54c96f76608c40d3329b5c21;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=7c79e2e0eeef724acb45071a40c8d929270763e8;hpb=5067d7bd31514962af9730b33323b831d87164f8;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Part.pm b/SL/DB/MetaSetup/Part.pm index 7c79e2e0e..ef6ed69f5 100644 --- a/SL/DB/MetaSetup/Part.pm +++ b/SL/DB/MetaSetup/Part.pm @@ -37,14 +37,14 @@ __PACKAGE__->meta->columns( payment_id => { type => 'integer' }, price_factor_id => { type => 'integer' }, priceupdate => { type => 'date', default => 'now' }, - rop => { type => 'float', scale => 4 }, + rop => { type => 'float', precision => 4, scale => 4 }, sellprice => { type => 'numeric', precision => 15, scale => 5 }, shop => { type => 'boolean', default => 'false' }, stockable => { type => 'boolean', default => 'false' }, unit => { type => 'varchar', length => 20, not_null => 1 }, ve => { type => 'integer' }, warehouse_id => { type => 'integer' }, - weight => { type => 'float', scale => 4 }, + weight => { type => 'float', precision => 4, scale => 4 }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -65,7 +65,7 @@ __PACKAGE__->meta->foreign_keys( }, classification => { - class => 'SL::DB::PartsClassification', + class => 'SL::DB::PartClassification', key_columns => { classification_id => 'id' }, },