Rose-Model für neue Tabelle currencies
[kivitendo-erp.git] / SL / DB / MetaSetup / Default.pm
index aec99e2..7b1df39 100644 (file)
@@ -71,6 +71,15 @@ __PACKAGE__->meta->setup(
   ],
 
   primary_key_columns => [ 'id' ],
+
+  allow_inline_column_values => 1,
+
+  foreign_keys => [
+    currency => {
+      class       => 'SL::DB::Currency',
+      key_columns => { currency_id => 'id' },
+    },
+  ],
 );
 
 1;