]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/PeriodicInvoice.pm
Vergessen AuditTrail als DB-Objekt zu löschen
[kivitendo-erp.git] / SL / DB / MetaSetup / PeriodicInvoice.pm
index 5346cfdd385604aca72acf70be1214ea49e52145..3e6f1eabcc64eed4aaf3cba542089d7dfae5b0c1 100644 (file)
@@ -9,11 +9,11 @@ use base 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;
 ;