X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FDB%2FMetaSetup%2FPriceFactor.pm;h=a67b805eb1a24416a5f0007f7042005f8e069b48;hb=317450cb2e2514d838616562fc478dad2009d103;hp=099b6584f67b04d21b3deb56ee05261ecae7ccb0;hpb=4bcf880408fcc4270084f36520d4fd2cfd509fbc;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/PriceFactor.pm b/SL/DB/MetaSetup/PriceFactor.pm index 099b6584f..a67b805eb 100644 --- a/SL/DB/MetaSetup/PriceFactor.pm +++ b/SL/DB/MetaSetup/PriceFactor.pm @@ -9,15 +9,13 @@ use base qw(SL::DB::Object); __PACKAGE__->meta->table('price_factors'); __PACKAGE__->meta->columns( - id => { type => 'integer', not_null => 1, sequence => 'id' }, description => { type => 'text' }, - factor => { type => 'numeric', precision => 5, scale => 15 }, + factor => { type => 'numeric', precision => 15, scale => 5 }, + id => { type => 'integer', not_null => 1, sequence => 'id' }, sortkey => { type => 'integer' }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); -# __PACKAGE__->meta->initialize; - 1; ;