MetaSetups mit RDBO >= 0.809 neu bauen
[kivitendo-erp.git] / SL / DB / MetaSetup / Customer.pm
index 0f523a4..a12aa10 100644 (file)
@@ -20,7 +20,7 @@ __PACKAGE__->meta->columns(
   city                      => { type => 'varchar', length => 75 },
   contact                   => { type => 'text' },
   country                   => { type => 'varchar', length => 75 },
-  creditlimit               => { type => 'numeric', default => '0', precision => 5, scale => 15 },
+  creditlimit               => { type => 'numeric', default => '0', precision => 15, scale => 5 },
   currency_id               => { type => 'integer', not_null => 1 },
   customernumber            => { type => 'text' },
   delivery_term_id          => { type => 'integer' },
@@ -28,7 +28,7 @@ __PACKAGE__->meta->columns(
   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' },