]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/Business.pm
Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / SL / DB / MetaSetup / Business.pm
index ff6e3d0831a133ce8527ef31f25c242a4f88e22e..08c2d10559bddf1421b663a856341cf48cc6515a 100644 (file)
@@ -4,14 +4,14 @@ package SL::DB::Business;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('business');
 
 __PACKAGE__->meta->columns(
   customernumberinit => { type => 'text' },
   description        => { type => 'text' },
-  discount           => { type => 'float', scale => 4 },
+  discount           => { type => 'float', precision => 4, scale => 4 },
   id                 => { type => 'integer', not_null => 1, sequence => 'id' },
   itime              => { type => 'timestamp', default => 'now()' },
   mtime              => { type => 'timestamp' },