Sprache um Attribut ungültig erweitert
[kivitendo-erp.git] / SL / DB / MetaSetup / BackgroundJobHistory.pm
index 6fb3e2b..ca784fd 100644 (file)
@@ -4,23 +4,21 @@ package SL::DB::BackgroundJobHistory;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('background_job_histories');
 
 __PACKAGE__->meta->columns(
+  data         => { type => 'text' },
+  error        => { type => 'text', alias => 'error_col' },
   id           => { type => 'serial', not_null => 1 },
   package_name => { type => 'varchar', length => 255 },
+  result       => { type => 'text' },
   run_at       => { type => 'timestamp' },
   status       => { type => 'varchar', length => 255 },
-  result       => { type => 'text' },
-  error        => { type => 'text', alias => 'error_col' },
-  data         => { type => 'text' },
 );
 
 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
 
-# __PACKAGE__->meta->initialize;
-
 1;
 ;