Bug 27783: DBIC update
[koha.git] / Koha / Schema / Result / BackgroundJob.pm
1 use utf8;
2 package Koha::Schema::Result::BackgroundJob;
3
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7 =head1 NAME
8
9 Koha::Schema::Result::BackgroundJob
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<background_jobs>
19
20 =cut
21
22 __PACKAGE__->table("background_jobs");
23
24 =head1 ACCESSORS
25
26 =head2 id
27
28   data_type: 'integer'
29   is_auto_increment: 1
30   is_nullable: 0
31
32 =head2 status
33
34   data_type: 'varchar'
35   is_nullable: 1
36   size: 32
37
38 =head2 progress
39
40   data_type: 'integer'
41   is_nullable: 1
42
43 =head2 size
44
45   data_type: 'integer'
46   is_nullable: 1
47
48 =head2 borrowernumber
49
50   data_type: 'integer'
51   is_nullable: 1
52
53 =head2 type
54
55   data_type: 'varchar'
56   is_nullable: 1
57   size: 64
58
59 =head2 queue
60
61   data_type: 'varchar'
62   default_value: 'default'
63   is_nullable: 0
64   size: 191
65
66 Name of the queue the job is sent to
67
68 =head2 data
69
70   data_type: 'longtext'
71   is_nullable: 1
72
73 =head2 enqueued_on
74
75   data_type: 'datetime'
76   datetime_undef_if_invalid: 1
77   is_nullable: 1
78
79 =head2 started_on
80
81   data_type: 'datetime'
82   datetime_undef_if_invalid: 1
83   is_nullable: 1
84
85 =head2 ended_on
86
87   data_type: 'datetime'
88   datetime_undef_if_invalid: 1
89   is_nullable: 1
90
91 =cut
92
93 __PACKAGE__->add_columns(
94   "id",
95   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
96   "status",
97   { data_type => "varchar", is_nullable => 1, size => 32 },
98   "progress",
99   { data_type => "integer", is_nullable => 1 },
100   "size",
101   { data_type => "integer", is_nullable => 1 },
102   "borrowernumber",
103   { data_type => "integer", is_nullable => 1 },
104   "type",
105   { data_type => "varchar", is_nullable => 1, size => 64 },
106   "queue",
107   {
108     data_type => "varchar",
109     default_value => "default",
110     is_nullable => 0,
111     size => 191,
112   },
113   "data",
114   { data_type => "longtext", is_nullable => 1 },
115   "enqueued_on",
116   {
117     data_type => "datetime",
118     datetime_undef_if_invalid => 1,
119     is_nullable => 1,
120   },
121   "started_on",
122   {
123     data_type => "datetime",
124     datetime_undef_if_invalid => 1,
125     is_nullable => 1,
126   },
127   "ended_on",
128   {
129     data_type => "datetime",
130     datetime_undef_if_invalid => 1,
131     is_nullable => 1,
132   },
133 );
134
135 =head1 PRIMARY KEY
136
137 =over 4
138
139 =item * L</id>
140
141 =back
142
143 =cut
144
145 __PACKAGE__->set_primary_key("id");
146
147
148 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-04 17:50:05
149 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EQUgOEtr2ymejd/0ZffJWg
150
151
152 # You can replace this text with custom code or comments, and it will be preserved on regeneration
153 1;