X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FFollowUpAccess.pm;h=fa6898ea950321e3b7c3c77fb61ace44208cfc09;hb=refs%2Fheads%2Fswiss;hp=43d53861045bdb132de0b6025763981615a152b4;hpb=3eb3d1b144adb92e62de08e67dc6ff3d39bf7483;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/FollowUpAccess.pm b/SL/DB/MetaSetup/FollowUpAccess.pm index 43d538610..fa6898ea9 100644 --- a/SL/DB/MetaSetup/FollowUpAccess.pm +++ b/SL/DB/MetaSetup/FollowUpAccess.pm @@ -4,7 +4,7 @@ package SL::DB::FollowUpAccess; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('follow_up_access'); @@ -17,12 +17,12 @@ __PACKAGE__->meta->columns( __PACKAGE__->meta->primary_key_columns([ 'id' ]); __PACKAGE__->meta->foreign_keys( - employee => { + to_follow_ups_by => { class => 'SL::DB::Employee', key_columns => { what => 'id' }, }, - employee_obj => { + with_access => { class => 'SL::DB::Employee', key_columns => { who => 'id' }, },