X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/b8b112a39bd601b0bc717646d78de470631da22a..e214accccd89a9c8:/SL/DB/MetaSetup/BackgroundJob.pm diff --git a/SL/DB/MetaSetup/BackgroundJob.pm b/SL/DB/MetaSetup/BackgroundJob.pm index 0716443ab..6b1913109 100644 --- a/SL/DB/MetaSetup/BackgroundJob.pm +++ b/SL/DB/MetaSetup/BackgroundJob.pm @@ -9,19 +9,17 @@ use base qw(SL::DB::Object); __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 }, - type => { type => 'varchar', length => 255 }, - package_name => { type => 'varchar', length => 255 }, last_run_at => { type => 'timestamp' }, next_run_at => { type => 'timestamp' }, - data => { type => 'text' }, - active => { type => 'boolean' }, - cron_spec => { type => 'varchar', length => 255 }, + package_name => { type => 'varchar', length => 255 }, + type => { type => 'varchar', length => 255 }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); -# __PACKAGE__->meta->initialize; - 1; ;