X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9f9f93b3f869be5b187a7fe00327ed85f9a43b6c..1ee23a2d739f95fd752d0a21d83edfb6b8fa0c66:/SL/DB/MetaSetup/AuthGroupRight.pm diff --git a/SL/DB/MetaSetup/AuthGroupRight.pm b/SL/DB/MetaSetup/AuthGroupRight.pm index 677796631..7c98d2ab2 100644 --- a/SL/DB/MetaSetup/AuthGroupRight.pm +++ b/SL/DB/MetaSetup/AuthGroupRight.pm @@ -17,6 +17,13 @@ __PACKAGE__->meta->setup( ], primary_key_columns => [ 'group_id', 'right' ], + + foreign_keys => [ + group => { + class => 'SL::DB::AuthGroup', + key_columns => { group_id => 'id' }, + }, + ], ); 1;