]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/Vendor.pm
Neues DB-Setup für Währungen
[kivitendo-erp.git] / SL / DB / MetaSetup / Vendor.pm
index d8854fab5325f217686742ef92475388621b4af2..cb36289d9acb41106a4b024c253111172f9055f2 100644 (file)
@@ -52,13 +52,11 @@ __PACKAGE__->meta->setup(
     iban           => { type => 'varchar', length => 100 },
     bic            => { type => 'varchar', length => 100 },
     direct_debit   => { type => 'boolean', default => 'false' },
-    curr           => { type => 'text' },
+    currency_id    => { type => 'integer', not_null => 1 },
   ],
 
   primary_key_columns => [ 'id' ],
 
-  allow_inline_column_values => 1,
-
   foreign_keys => [
     business => {
       class       => 'SL::DB::Business',