Neues DB-Setup für Währungen
[kivitendo-erp.git] / SL / DB / MetaSetup / Vendor.pm
index cc93663..cb36289 100644 (file)
@@ -29,7 +29,6 @@ __PACKAGE__->meta->setup(
     vendornumber   => { type => 'text' },
     cc             => { type => 'text' },
     bcc            => { type => 'text' },
-    gifi_accno     => { type => 'text' },
     business_id    => { type => 'integer' },
     taxnumber      => { type => 'text' },
     discount       => { type => 'float', precision => 4 },
@@ -53,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',