X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3eb3d1b144adb92e62de08e67dc6ff3d39bf7483..04caff2d7309da75f53424675795addff173f32c:/SL/DB/MetaSetup/Assembly.pm diff --git a/SL/DB/MetaSetup/Assembly.pm b/SL/DB/MetaSetup/Assembly.pm index 2890e8572..51073406b 100644 --- a/SL/DB/MetaSetup/Assembly.pm +++ b/SL/DB/MetaSetup/Assembly.pm @@ -4,7 +4,7 @@ package SL::DB::Assembly; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('assembly'); @@ -15,7 +15,7 @@ __PACKAGE__->meta->columns( itime => { type => 'timestamp', default => 'now()' }, mtime => { type => 'timestamp' }, parts_id => { type => 'integer' }, - qty => { type => 'float', precision => 4 }, + qty => { type => 'float', scale => 4 }, ); __PACKAGE__->meta->primary_key_columns([ 'assembly_id' ]);