From 9831db07d9a6ef43c038c9f5c93a4809f1c5c68b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 22 Nov 2010 17:38:00 +0100 Subject: [PATCH] =?utf8?q?Weitere=20Modelvern=C3=BCpfungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Invoice.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SL/DB/Invoice.pm b/SL/DB/Invoice.pm index 25393c6bc..fcace5981 100644 --- a/SL/DB/Invoice.pm +++ b/SL/DB/Invoice.pm @@ -53,6 +53,11 @@ __PACKAGE__->meta->add_relationship( class => 'SL::DB::Language', column_map => { language_id => 'id' }, }, + employee => { + type => 'one to one', + class => 'SL::DB::Employee', + column_map => { employee_id => 'id' }, + }, ); __PACKAGE__->meta->initialize; -- 2.20.1