X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/21d4aaf83b5d9f1cd664b997d685cf9007cc91c8..ae4cec429306e2f1372d9cbd7a2ac40ecb977869:/SL/DB/MetaSetup/TimeRecording.pm diff --git a/SL/DB/MetaSetup/TimeRecording.pm b/SL/DB/MetaSetup/TimeRecording.pm index e35141b44..4fca65738 100644 --- a/SL/DB/MetaSetup/TimeRecording.pm +++ b/SL/DB/MetaSetup/TimeRecording.pm @@ -17,6 +17,7 @@ __PACKAGE__->meta->columns( id => { type => 'serial', not_null => 1 }, itime => { type => 'timestamp', default => 'now()', not_null => 1 }, mtime => { type => 'timestamp', default => 'now()', not_null => 1 }, + part_id => { type => 'integer' }, payroll => { type => 'boolean', default => 'false' }, project_id => { type => 'integer' }, staff_member_id => { type => 'integer', not_null => 1 }, @@ -38,6 +39,11 @@ __PACKAGE__->meta->foreign_keys( key_columns => { employee_id => 'id' }, }, + part => { + class => 'SL::DB::Part', + key_columns => { part_id => 'id' }, + }, + project => { class => 'SL::DB::Project', key_columns => { project_id => 'id' },