Wechselkurs pro Angebot/Auftrag: DB-Upgrade-Skript + Rose
[kivitendo-erp.git] / SL / DB / MetaSetup / AccTransaction.pm
index ae3f0f6..23a1b17 100644 (file)
@@ -4,13 +4,13 @@ package SL::DB::AccTransaction;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('acc_trans');
 
 __PACKAGE__->meta->columns(
   acc_trans_id   => { type => 'bigint', not_null => 1, sequence => 'acc_trans_id_seq' },
-  amount         => { type => 'numeric', precision => 5, scale => 15 },
+  amount         => { type => 'numeric', precision => 15, scale => 5 },
   cb_transaction => { type => 'boolean', default => 'false', not_null => 1 },
   chart_id       => { type => 'integer', not_null => 1 },
   chart_link     => { type => 'text', not_null => 1 },