X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/d2c5f6474ebd578ce46e09484780cfea556abb5e..f63bc3db2b0dc62707d4fc75d882e68c06bbcec5:/SL/DB/MetaSetup/AuthSessionContent.pm 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; ;