use strict;
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
__PACKAGE__->meta->table('bank_accounts');
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 },