Bug 32257: Label for patron attributes misaligned
[koha-ffzg.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 context
74
75   data_type: 'longtext'
76   is_nullable: 1
77
78 JSON-serialized context information for the job
79
80 =head2 enqueued_on
81
82   data_type: 'datetime'
83   datetime_undef_if_invalid: 1
84   is_nullable: 1
85
86 =head2 started_on
87
88   data_type: 'datetime'
89   datetime_undef_if_invalid: 1
90   is_nullable: 1
91
92 =head2 ended_on
93
94   data_type: 'datetime'
95   datetime_undef_if_invalid: 1
96   is_nullable: 1
97
98 =cut
99
100 __PACKAGE__->add_columns(
101   "id",
102   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
103   "status",
104   { data_type => "varchar", is_nullable => 1, size => 32 },
105   "progress",
106   { data_type => "integer", is_nullable => 1 },
107   "size",
108   { data_type => "integer", is_nullable => 1 },
109   "borrowernumber",
110   { data_type => "integer", is_nullable => 1 },
111   "type",
112   { data_type => "varchar", is_nullable => 1, size => 64 },
113   "queue",
114   {
115     data_type => "varchar",
116     default_value => "default",
117     is_nullable => 0,
118     size => 191,
119   },
120   "data",
121   { data_type => "longtext", is_nullable => 1 },
122   "context",
123   { data_type => "longtext", is_nullable => 1 },
124   "enqueued_on",
125   {
126     data_type => "datetime",
127     datetime_undef_if_invalid => 1,
128     is_nullable => 1,
129   },
130   "started_on",
131   {
132     data_type => "datetime",
133     datetime_undef_if_invalid => 1,
134     is_nullable => 1,
135   },
136   "ended_on",
137   {
138     data_type => "datetime",
139     datetime_undef_if_invalid => 1,
140     is_nullable => 1,
141   },
142 );
143
144 =head1 PRIMARY KEY
145
146 =over 4
147
148 =item * L</id>
149
150 =back
151
152 =cut
153
154 __PACKAGE__->set_primary_key("id");
155
156
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
159
160
161 # You can replace this text with custom code or comments, and it will be preserved on regeneration
162 1;