MetaSetups mit RDBO >= 0.809 neu bauen
[kivitendo-erp.git] / SL / DB / MetaSetup / Vendor.pm
index 0493aa3..067e21a 100644 (file)
@@ -19,14 +19,14 @@ __PACKAGE__->meta->columns(
   city             => { type => 'varchar', length => 75 },
   contact          => { type => 'varchar', length => 75 },
   country          => { type => 'varchar', length => 75 },
-  creditlimit      => { type => 'numeric', precision => 5, scale => 15 },
+  creditlimit      => { type => 'numeric', precision => 15, scale => 5 },
   currency_id      => { type => 'integer', not_null => 1 },
   delivery_term_id => { type => 'integer' },
   department_1     => { type => 'varchar', length => 75 },
   department_2     => { type => 'varchar', length => 75 },
   depositor        => { type => 'text' },
   direct_debit     => { type => 'boolean', default => 'false' },
-  discount         => { type => 'float', precision => 4 },
+  discount         => { type => 'float', scale => 4 },
   email            => { type => 'text' },
   fax              => { type => 'varchar', length => 30 },
   greeting         => { type => 'text' },