mini-DMS: Filesystem-Backend: ungeänderte Dokumente nicht doppelt speichern.
[kivitendo-erp.git] / SL / DB / MetaSetup / Business.pm
index ff6e3d0..08c2d10 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' },