X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/50aabb483692039941096440a354d77b49ce0236..490b0f017ff3f88b192444eda0a46eb84bb1c478:/SL/DB/MetaSetup/RequirementSpecItem.pm diff --git a/SL/DB/MetaSetup/RequirementSpecItem.pm b/SL/DB/MetaSetup/RequirementSpecItem.pm index dfce58166..79c1ca0b2 100644 --- a/SL/DB/MetaSetup/RequirementSpecItem.pm +++ b/SL/DB/MetaSetup/RequirementSpecItem.pm @@ -19,11 +19,12 @@ __PACKAGE__->meta->columns( item_type => { type => 'text', not_null => 1 }, itime => { type => 'timestamp', default => 'now()', not_null => 1 }, mtime => { type => 'timestamp' }, + order_part_id => { type => 'integer' }, parent_id => { type => 'integer' }, position => { type => 'integer', not_null => 1 }, requirement_spec_id => { type => 'integer', not_null => 1 }, risk_id => { type => 'integer' }, - time_estimation => { type => 'numeric', default => '0', not_null => 1, precision => 2, scale => 12 }, + time_estimation => { type => 'numeric', default => '0', not_null => 1, precision => 12, scale => 2 }, title => { type => 'text' }, ); @@ -42,6 +43,11 @@ __PACKAGE__->meta->foreign_keys( key_columns => { complexity_id => 'id' }, }, + order_part => { + class => 'SL::DB::Part', + key_columns => { order_part_id => 'id' }, + }, + parent => { class => 'SL::DB::RequirementSpecItem', key_columns => { parent_id => 'id' },