]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/Part.pm
Paginates nur anzeigen, wenn mindestens 2 Seiten.
[kivitendo-erp.git] / SL / DB / MetaSetup / Part.pm
index f80ad78e963b3ecc6ca3ebd737f15b0101b10f7b..d6814e8d0716f78eecd26e9a8176f36728b0fb4a 100644 (file)
@@ -53,6 +53,13 @@ __PACKAGE__->meta->setup(
   primary_key_columns => [ 'id' ],
 
   allow_inline_column_values => 1,
   primary_key_columns => [ 'id' ],
 
   allow_inline_column_values => 1,
+
+  foreign_keys => [
+    buchungsgruppen => {
+      class       => 'SL::DB::Buchungsgruppe',
+      key_columns => { buchungsgruppen_id => 'id' },
+    },
+  ],
 );
 
 1;
 );
 
 1;