Datenbankschema & Models für Hintergrundjobs
[kivitendo-erp.git] / SL / DB / MetaSetup / BackgroundJob.pm
1 # This file has been auto-generated. Do not modify it; it will be overwritten
2 # by rose_auto_create_model.pl automatically.
3 package SL::DB::BackgroundJob;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->setup(
10   table   => 'background_jobs',
11
12   columns => [
13     id           => { type => 'serial', not_null => 1 },
14     type         => { type => 'varchar', length => 255 },
15     package_name => { type => 'varchar', length => 255 },
16     last_run_at  => { type => 'timestamp' },
17     next_run_at  => { type => 'timestamp' },
18     data         => { type => 'text' },
19     active       => { type => 'boolean' },
20     cron_spec    => { type => 'varchar', length => 255 },
21   ],
22
23   primary_key_columns => [ 'id' ],
24 );
25
26 1;
27 ;