From: G. Richardson Date: Fri, 11 Mar 2016 16:05:36 +0000 (+0100) Subject: MetaSetup AuthSessionContent X-Git-Tag: release-3.4.1~311 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=418a7036d511164bbfd0395084cd7158c4ab32d0;p=kivitendo-erp.git MetaSetup AuthSessionContent --- diff --git a/SL/DB/MetaSetup/AuthSessionContent.pm b/SL/DB/MetaSetup/AuthSessionContent.pm index 4d08917c7..fc3638102 100644 --- a/SL/DB/MetaSetup/AuthSessionContent.pm +++ b/SL/DB/MetaSetup/AuthSessionContent.pm @@ -18,5 +18,12 @@ __PACKAGE__->meta->columns( __PACKAGE__->meta->primary_key_columns([ 'session_id', 'sess_key' ]); +__PACKAGE__->meta->foreign_keys( + session => { + class => 'SL::DB::AuthSession', + key_columns => { session_id => 'id' }, + }, +); + 1; ;