use parent statt use base in MetaSetup
[kivitendo-erp.git] / SL / DB / MetaSetup / PeriodicInvoicesConfig.pm
index 1aeb42f..0c05453 100644 (file)
@@ -4,7 +4,7 @@ package SL::DB::PeriodicInvoicesConfig;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('periodic_invoices_configs');
 
@@ -12,6 +12,7 @@ __PACKAGE__->meta->columns(
   active                  => { type => 'boolean', default => 'true' },
   ar_chart_id             => { type => 'integer', not_null => 1 },
   copies                  => { type => 'integer' },
+  direct_debit            => { type => 'boolean', default => 'false', not_null => 1 },
   end_date                => { type => 'date' },
   extend_automatically_by => { type => 'integer' },
   first_billing_date      => { type => 'date' },