X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FPrice.pm;h=d1c35dc8bb1c3021d17874e9ec3c20c254a56711;hb=a67ad20f388cd35487a7a9d46a003e39e1f402aa;hp=2fec15f4eb75285c72ed8ba7f68090ab65cca59d;hpb=b8b112a39bd601b0bc717646d78de470631da22a;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Price.pm b/SL/DB/MetaSetup/Price.pm index 2fec15f4e..d1c35dc8b 100644 --- a/SL/DB/MetaSetup/Price.pm +++ b/SL/DB/MetaSetup/Price.pm @@ -9,10 +9,10 @@ use base qw(SL::DB::Object); __PACKAGE__->meta->table('prices'); __PACKAGE__->meta->columns( + id => { type => 'serial', not_null => 1 }, parts_id => { type => 'integer' }, - pricegroup_id => { type => 'integer' }, price => { type => 'numeric', precision => 5, scale => 15 }, - id => { type => 'serial', not_null => 1 }, + pricegroup_id => { type => 'integer' }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -29,7 +29,5 @@ __PACKAGE__->meta->foreign_keys( }, ); -# __PACKAGE__->meta->initialize; - 1; ;