X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FDB%2FMetaSetup%2FAuthUserConfig.pm;h=ef9e3489511f61dca5587f3bcbb2bc7f5b930b68;hb=7c60c2423f6fd27a78cf89ca62821ea1e41e85f5;hp=688998b57e7c9d0ffb9717f5f24ef62b0404c7ef;hpb=3568f2f8cb1f21031ee5255f054c0431544c5607;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/AuthUserConfig.pm b/SL/DB/MetaSetup/AuthUserConfig.pm index 688998b57..ef9e34895 100644 --- a/SL/DB/MetaSetup/AuthUserConfig.pm +++ b/SL/DB/MetaSetup/AuthUserConfig.pm @@ -17,6 +17,13 @@ __PACKAGE__->meta->setup( ], primary_key_columns => [ 'user_id', 'cfg_key' ], + + foreign_keys => [ + user => { + class => 'SL::DB::AuthUser', + key_columns => { user_id => 'id' }, + }, + ], ); 1;