DBO Update - alle normalen Models hinzugefĆ¼gt.
[kivitendo-erp.git] / SL / DB / MetaSetup / Part.pm
index f80ad78..d6814e8 100644 (file)
@@ -53,6 +53,13 @@ __PACKAGE__->meta->setup(
   primary_key_columns => [ 'id' ],
 
   allow_inline_column_values => 1,
+
+  foreign_keys => [
+    buchungsgruppen => {
+      class       => 'SL::DB::Buchungsgruppe',
+      key_columns => { buchungsgruppen_id => 'id' },
+    },
+  ],
 );
 
 1;