2 package Koha::Schema::Result::BackgroundJob;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::BackgroundJob
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<background_jobs>
22 __PACKAGE__->table("background_jobs");
62 default_value: 'default'
66 Name of the queue the job is sent to
78 JSON-serialized context information for the job
83 datetime_undef_if_invalid: 1
89 datetime_undef_if_invalid: 1
95 datetime_undef_if_invalid: 1
100 __PACKAGE__->add_columns(
102 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
104 { data_type => "varchar", is_nullable => 1, size => 32 },
106 { data_type => "integer", is_nullable => 1 },
108 { data_type => "integer", is_nullable => 1 },
110 { data_type => "integer", is_nullable => 1 },
112 { data_type => "varchar", is_nullable => 1, size => 64 },
115 data_type => "varchar",
116 default_value => "default",
121 { data_type => "longtext", is_nullable => 1 },
123 { data_type => "longtext", is_nullable => 1 },
126 data_type => "datetime",
127 datetime_undef_if_invalid => 1,
132 data_type => "datetime",
133 datetime_undef_if_invalid => 1,
138 data_type => "datetime",
139 datetime_undef_if_invalid => 1,
154 __PACKAGE__->set_primary_key("id");
157 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-30 14:53:39
158 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:t95CnrIOd1CBL5qaEez7dQ
161 # You can replace this text with custom code or comments, and it will be preserved on regeneration