From 35bd55ae9e1249e11f18ebb6580a7037acdf8087 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 6 May 2013 17:50:27 +0200 Subject: [PATCH] =?utf8?q?Restliche=20RDBO=20Updates=20f=C3=BCr=20Projekte?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Helper/ALL.pm | 4 ++++ SL/DB/MetaSetup/Project.pm | 5 +++++ SL/DB/MetaSetup/ProjectStatus.pm | 8 -------- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/SL/DB/Helper/ALL.pm b/SL/DB/Helper/ALL.pm index 5e29b7149..8ed4d9ae1 100644 --- a/SL/DB/Helper/ALL.pm +++ b/SL/DB/Helper/ALL.pm @@ -70,6 +70,10 @@ use SL::DB::Price; use SL::DB::Printer; use SL::DB::Project; use SL::DB::ProjectType; +use SL::DB::ProjectStatus; +use SL::DB::ProjectRole; +use SL::DB::ProjectParticipant; +use SL::DB::ProjectPhaseParticipant; use SL::DB::PurchaseInvoice; use SL::DB::RecordLink; use SL::DB::RequirementSpecAcceptanceStatus; diff --git a/SL/DB/MetaSetup/Project.pm b/SL/DB/MetaSetup/Project.pm index cef714120..135d7c8db 100644 --- a/SL/DB/MetaSetup/Project.pm +++ b/SL/DB/MetaSetup/Project.pm @@ -56,6 +56,11 @@ __PACKAGE__->meta->foreign_keys( key_columns => { customer_id => 'id' }, }, + project_status => { + class => 'SL::DB::ProjectStatus', + key_columns => { project_status_id => 'id' }, + }, + project_type => { class => 'SL::DB::ProjectType', key_columns => { project_type_id => 'id' }, diff --git a/SL/DB/MetaSetup/ProjectStatus.pm b/SL/DB/MetaSetup/ProjectStatus.pm index dbf77346c..262955c8f 100644 --- a/SL/DB/MetaSetup/ProjectStatus.pm +++ b/SL/DB/MetaSetup/ProjectStatus.pm @@ -19,14 +19,6 @@ __PACKAGE__->meta->setup( ], primary_key_columns => [ 'id' ], - - relationships => [ - project => { - class => 'SL::DB::Project', - column_map => { id => 'project_status_id' }, - type => 'one to many', - }, - ], ); 1; -- 2.20.1