X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FPeriodicInvoice.pm;h=703cb597f238992ef4046b2ea5d90caaac083d7f;hb=0c564932ee0502911972f31f33a6041cfab5e98b;hp=5346cfdd385604aca72acf70be1214ea49e52145;hpb=4bcf880408fcc4270084f36520d4fd2cfd509fbc;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/PeriodicInvoice.pm b/SL/DB/MetaSetup/PeriodicInvoice.pm index 5346cfdd3..703cb597f 100644 --- a/SL/DB/MetaSetup/PeriodicInvoice.pm +++ b/SL/DB/MetaSetup/PeriodicInvoice.pm @@ -4,16 +4,16 @@ package SL::DB::PeriodicInvoice; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('periodic_invoices'); __PACKAGE__->meta->columns( - id => { type => 'integer', not_null => 1, sequence => 'id' }, - config_id => { type => 'integer', not_null => 1 }, ar_id => { type => 'integer', not_null => 1 }, - period_start_date => { type => 'date', not_null => 1 }, + config_id => { type => 'integer', not_null => 1 }, + id => { type => 'integer', not_null => 1, sequence => 'id' }, itime => { type => 'timestamp', default => 'now()' }, + period_start_date => { type => 'date', not_null => 1 }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -32,7 +32,5 @@ __PACKAGE__->meta->foreign_keys( }, ); -# __PACKAGE__->meta->initialize; - 1; ;