X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FBusiness.pm;h=08c2d10559bddf1421b663a856341cf48cc6515a;hb=HEAD;hp=ff6e3d0831a133ce8527ef31f25c242a4f88e22e;hpb=a3511b2d8974c72e4d26b2d85c5cf1cd711ccb6f;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Business.pm b/SL/DB/MetaSetup/Business.pm index ff6e3d083..08c2d1055 100644 --- a/SL/DB/MetaSetup/Business.pm +++ b/SL/DB/MetaSetup/Business.pm @@ -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' },