]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/AuthGroupRight.pm
Rose-Schema für auth.*-Tabellen aktualisiert
[kivitendo-erp.git] / SL / DB / MetaSetup / AuthGroupRight.pm
index 677796631473aa7e4939684111e03780965f993e..7c98d2ab24a1064073fc3f72d1e449c08a58e4f6 100644 (file)
@@ -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;