X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FRequirementSpec.pm;h=ce25749d74c064d9d3d7ee8308f143c45f59d1dc;hb=bde97469a3c19ef4ecb34c95dbf40d9d622093d2;hp=a08ee183a14f897f5aa29ad762788a625ffbd504;hpb=1561b7f3d98390ba97bd5a81945f16e82d96915b;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/RequirementSpec.pm b/SL/DB/MetaSetup/RequirementSpec.pm index a08ee183a..ce25749d7 100644 --- a/SL/DB/MetaSetup/RequirementSpec.pm +++ b/SL/DB/MetaSetup/RequirementSpec.pm @@ -4,25 +4,25 @@ package SL::DB::RequirementSpec; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('requirement_specs'); __PACKAGE__->meta->columns( customer_id => { type => 'integer' }, - hourly_rate => { type => 'numeric', default => '0', not_null => 1, precision => 2, scale => 8 }, + hourly_rate => { type => 'numeric', default => '0', not_null => 1, precision => 8, scale => 2 }, id => { type => 'serial', not_null => 1 }, is_template => { type => 'boolean', default => 'false' }, itime => { type => 'timestamp', default => 'now()' }, mtime => { type => 'timestamp' }, - net_sum => { type => 'numeric', default => '0', not_null => 1, precision => 2, scale => 12 }, previous_fb_number => { type => 'integer', not_null => 1 }, + previous_picture_number => { type => 'integer', default => '0', not_null => 1 }, previous_section_number => { type => 'integer', not_null => 1 }, project_id => { type => 'integer' }, status_id => { type => 'integer' }, + time_estimation => { type => 'numeric', default => '0', not_null => 1, precision => 12, scale => 2 }, title => { type => 'text', not_null => 1 }, - type_id => { type => 'integer' }, - version_id => { type => 'integer' }, + type_id => { type => 'integer', not_null => 1 }, working_copy_id => { type => 'integer' }, ); @@ -51,11 +51,6 @@ __PACKAGE__->meta->foreign_keys( key_columns => { type_id => 'id' }, }, - version => { - class => 'SL::DB::RequirementSpecVersion', - key_columns => { version_id => 'id' }, - }, - working_copy => { class => 'SL::DB::RequirementSpec', key_columns => { working_copy_id => 'id' },