X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/68e4c3a2d381e0b1b5b8cf317a6bed22973aace9..d32410ac096b:/SL/DB/MetaSetup/FollowUp.pm diff --git a/SL/DB/MetaSetup/FollowUp.pm b/SL/DB/MetaSetup/FollowUp.pm index a6702b68a..1659f8f4c 100644 --- a/SL/DB/MetaSetup/FollowUp.pm +++ b/SL/DB/MetaSetup/FollowUp.pm @@ -4,7 +4,7 @@ package SL::DB::FollowUp; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('follow_ups'); @@ -24,12 +24,12 @@ __PACKAGE__->meta->primary_key_columns([ 'id' ]); __PACKAGE__->meta->allow_inline_column_values(1); __PACKAGE__->meta->foreign_keys( - created_by => { + created_by_employee => { class => 'SL::DB::Employee', key_columns => { created_by => 'id' }, }, - created_for => { + created_for_employee => { class => 'SL::DB::Employee', key_columns => { created_for_user => 'id' }, },