From: Moritz Bunkus Date: Wed, 3 Jul 2013 11:12:46 +0000 (+0200) Subject: MetaSetup-Update durch Rose-Script mit --all X-Git-Tag: release-3.2.0beta~467^2~144 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=300dc61894ebcb800a69eae3e81195d3c337747d;p=kivitendo-erp.git MetaSetup-Update durch Rose-Script mit --all --- diff --git a/SL/DB/MetaSetup/ProjectPhase.pm b/SL/DB/MetaSetup/ProjectPhase.pm index c39fcea3b..7039a9cc1 100644 --- a/SL/DB/MetaSetup/ProjectPhase.pm +++ b/SL/DB/MetaSetup/ProjectPhase.pm @@ -32,13 +32,5 @@ __PACKAGE__->meta->foreign_keys( }, ); -__PACKAGE__->meta->relationships( - project_phase_participants => { - class => 'SL::DB::ProjectPhaseParticipant', - column_map => { id => 'project_phase_id' }, - type => 'one to many', - }, -); - 1; ; diff --git a/SL/DB/MetaSetup/ProjectPhaseParticipant.pm b/SL/DB/MetaSetup/ProjectPhaseParticipant.pm index 169181f7d..6e9ca6b5a 100644 --- a/SL/DB/MetaSetup/ProjectPhaseParticipant.pm +++ b/SL/DB/MetaSetup/ProjectPhaseParticipant.pm @@ -27,6 +27,11 @@ __PACKAGE__->meta->foreign_keys( key_columns => { employee_id => 'id' }, }, + project_phase => { + class => 'SL::DB::ProjectPhase', + key_columns => { project_phase_id => 'id' }, + }, + project_role => { class => 'SL::DB::ProjectRole', key_columns => { project_role_id => 'id' },