Bug 8976: DBIC schema changes
[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 data
60
61   data_type: 'text'
62   is_nullable: 1
63
64 =head2 enqueued_on
65
66   data_type: 'datetime'
67   datetime_undef_if_invalid: 1
68   is_nullable: 1
69
70 =head2 started_on
71
72   data_type: 'datetime'
73   datetime_undef_if_invalid: 1
74   is_nullable: 1
75
76 =head2 ended_on
77
78   data_type: 'datetime'
79   datetime_undef_if_invalid: 1
80   is_nullable: 1
81
82 =cut
83
84 __PACKAGE__->add_columns(
85   "id",
86   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
87   "status",
88   { data_type => "varchar", is_nullable => 1, size => 32 },
89   "progress",
90   { data_type => "integer", is_nullable => 1 },
91   "size",
92   { data_type => "integer", is_nullable => 1 },
93   "borrowernumber",
94   { data_type => "integer", is_nullable => 1 },
95   "type",
96   { data_type => "varchar", is_nullable => 1, size => 64 },
97   "data",
98   { data_type => "text", is_nullable => 1 },
99   "enqueued_on",
100   {
101     data_type => "datetime",
102     datetime_undef_if_invalid => 1,
103     is_nullable => 1,
104   },
105   "started_on",
106   {
107     data_type => "datetime",
108     datetime_undef_if_invalid => 1,
109     is_nullable => 1,
110   },
111   "ended_on",
112   {
113     data_type => "datetime",
114     datetime_undef_if_invalid => 1,
115     is_nullable => 1,
116   },
117 );
118
119 =head1 PRIMARY KEY
120
121 =over 4
122
123 =item * L</id>
124
125 =back
126
127 =cut
128
129 __PACKAGE__->set_primary_key("id");
130
131
132 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-20 15:09:04
133 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:W4AN0tDu8476YvcYbHc1DA
134
135
136 # You can replace this text with custom code or comments, and it will be preserved on regeneration
137 1;