]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/BankAccount.pm
GDPDU: Steuerdaten konsistent halten, Zahlenformatierung
[kivitendo-erp.git] / SL / DB / MetaSetup / BankAccount.pm
index d778138e94cb96e84217f7881a100cf400cf976a..b72a170b4d3f47bd1c1aab2837aaaa4197495c92 100644 (file)
@@ -4,7 +4,7 @@ package SL::DB::BankAccount;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('bank_accounts');
 
@@ -17,7 +17,7 @@ __PACKAGE__->meta->columns(
   iban                            => { type => 'varchar', length => 100 },
   id                              => { type => 'integer', not_null => 1, sequence => 'id' },
   name                            => { type => 'text' },
-  obsolete                        => { type => 'boolean' },
+  obsolete                        => { type => 'boolean', default => 'false', not_null => 1 },
   reconciliation_starting_balance => { type => 'numeric', precision => 15, scale => 5 },
   reconciliation_starting_date    => { type => 'date' },
   sortkey                         => { type => 'integer', not_null => 1 },