]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/BackgroundJob.pm
Lohnbuchhaltungsimport: Leere Werte für Abteilungen abfangen
[kivitendo-erp.git] / SL / DB / MetaSetup / BackgroundJob.pm
index 0716443ab0a21e2e319b435e68e245ea952172b7..ce2ed7e1fa43124f4bc112b4a814360b8aa43c5d 100644 (file)
@@ -4,24 +4,23 @@ package SL::DB::BackgroundJob;
 
 use strict;
 
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('background_jobs');
 
 __PACKAGE__->meta->columns(
 
 __PACKAGE__->meta->table('background_jobs');
 
 __PACKAGE__->meta->columns(
+  active       => { type => 'boolean' },
+  cron_spec    => { type => 'varchar', length => 255 },
+  data         => { type => 'text' },
   id           => { type => 'serial', not_null => 1 },
   id           => { type => 'serial', not_null => 1 },
-  type         => { type => 'varchar', length => 255 },
-  package_name => { type => 'varchar', length => 255 },
   last_run_at  => { type => 'timestamp' },
   next_run_at  => { type => 'timestamp' },
   last_run_at  => { type => 'timestamp' },
   next_run_at  => { type => 'timestamp' },
-  data         => { type => 'text' },
-  active       => { type => 'boolean' },
-  cron_spec    => { type => 'varchar', length => 255 },
+  node_id      => { type => 'text' },
+  package_name => { type => 'varchar', length => 255 },
+  type         => { type => 'varchar', length => 255 },
 );
 
 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
 
 );
 
 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
 
-# __PACKAGE__->meta->initialize;
-
 1;
 ;
 1;
 ;