X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d2c5f6474ebd578ce46e09484780cfea556abb5e..53593baa211863fbf66540cf1bcc36c8fb37257f:/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; ;