X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FFollowUp.pm;h=1659f8f4c2db2d0302f52a355ea891dea0f595db;hb=356fec7ed87236e0b68c0ef45fe5f99c8b1f5038;hp=a6702b68ac3e4d520f7ee0c8702f0fb66e611740;hpb=fa7fc7eeb3ca718914affee06c0629a08d571288;p=kivitendo-erp.git 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' }, },