X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FAuthSessionContent.pm;h=fc3638102957321c8858a9aa6d21aa03d0bfac55;hb=60dcd6c0c1abb2e06d31c4d46863fc09556ccd7b;hp=4d08917c71cf9d865da37bb009003df63e9e807c;hpb=d2c5f6474ebd578ce46e09484780cfea556abb5e;p=kivitendo-erp.git 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; ;