]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/MetaSetup/Default.pm
Währung beim CSV-Import Kunden/Lieferanten unterstützen
[mfinanz.git] / SL / DB / MetaSetup / Default.pm
index aec99e26fb02f0eb6d36011e2a523ba27591e1a2..7b1df394f4ad588de11040b6dff1f856636d2e6e 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;