Bug 12478: update the schema
[koha.git] / Koha / Schema / Result / Deletedbiblioitem.pm
1 use utf8;
2 package Koha::Schema::Result::Deletedbiblioitem;
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::Deletedbiblioitem
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<deletedbiblioitems>
19
20 =cut
21
22 __PACKAGE__->table("deletedbiblioitems");
23
24 =head1 ACCESSORS
25
26 =head2 biblioitemnumber
27
28   data_type: 'integer'
29   default_value: 0
30   is_nullable: 0
31
32 =head2 biblionumber
33
34   data_type: 'integer'
35   default_value: 0
36   is_nullable: 0
37
38 =head2 volume
39
40   data_type: 'mediumtext'
41   is_nullable: 1
42
43 =head2 number
44
45   data_type: 'mediumtext'
46   is_nullable: 1
47
48 =head2 itemtype
49
50   data_type: 'varchar'
51   is_nullable: 1
52   size: 10
53
54 =head2 isbn
55
56   data_type: 'mediumtext'
57   is_nullable: 1
58
59 =head2 issn
60
61   data_type: 'mediumtext'
62   is_nullable: 1
63
64 =head2 ean
65
66   data_type: 'varchar'
67   is_nullable: 1
68   size: 13
69
70 =head2 publicationyear
71
72   data_type: 'text'
73   is_nullable: 1
74
75 =head2 publishercode
76
77   data_type: 'varchar'
78   is_nullable: 1
79   size: 255
80
81 =head2 volumedate
82
83   data_type: 'date'
84   datetime_undef_if_invalid: 1
85   is_nullable: 1
86
87 =head2 volumedesc
88
89   data_type: 'text'
90   is_nullable: 1
91
92 =head2 collectiontitle
93
94   data_type: 'mediumtext'
95   is_nullable: 1
96
97 =head2 collectionissn
98
99   data_type: 'text'
100   is_nullable: 1
101
102 =head2 collectionvolume
103
104   data_type: 'mediumtext'
105   is_nullable: 1
106
107 =head2 editionstatement
108
109   data_type: 'text'
110   is_nullable: 1
111
112 =head2 editionresponsibility
113
114   data_type: 'text'
115   is_nullable: 1
116
117 =head2 timestamp
118
119   data_type: 'timestamp'
120   datetime_undef_if_invalid: 1
121   default_value: current_timestamp
122   is_nullable: 0
123
124 =head2 illus
125
126   data_type: 'varchar'
127   is_nullable: 1
128   size: 255
129
130 =head2 pages
131
132   data_type: 'varchar'
133   is_nullable: 1
134   size: 255
135
136 =head2 notes
137
138   data_type: 'mediumtext'
139   is_nullable: 1
140
141 =head2 size
142
143   data_type: 'varchar'
144   is_nullable: 1
145   size: 255
146
147 =head2 place
148
149   data_type: 'varchar'
150   is_nullable: 1
151   size: 255
152
153 =head2 lccn
154
155   data_type: 'varchar'
156   is_nullable: 1
157   size: 25
158
159 =head2 marc
160
161   data_type: 'longblob'
162   is_nullable: 1
163
164 =head2 url
165
166   data_type: 'text'
167   is_nullable: 1
168
169 =head2 cn_source
170
171   data_type: 'varchar'
172   is_nullable: 1
173   size: 10
174
175 =head2 cn_class
176
177   data_type: 'varchar'
178   is_nullable: 1
179   size: 30
180
181 =head2 cn_item
182
183   data_type: 'varchar'
184   is_nullable: 1
185   size: 10
186
187 =head2 cn_suffix
188
189   data_type: 'varchar'
190   is_nullable: 1
191   size: 10
192
193 =head2 cn_sort
194
195   data_type: 'varchar'
196   is_nullable: 1
197   size: 255
198
199 =head2 agerestriction
200
201   data_type: 'varchar'
202   is_nullable: 1
203   size: 255
204
205 =head2 totalissues
206
207   data_type: 'integer'
208   is_nullable: 1
209
210 =head2 marcxml
211
212   data_type: 'longtext'
213   is_nullable: 1
214
215 =cut
216
217 __PACKAGE__->add_columns(
218   "biblioitemnumber",
219   { data_type => "integer", default_value => 0, is_nullable => 0 },
220   "biblionumber",
221   { data_type => "integer", default_value => 0, is_nullable => 0 },
222   "volume",
223   { data_type => "mediumtext", is_nullable => 1 },
224   "number",
225   { data_type => "mediumtext", is_nullable => 1 },
226   "itemtype",
227   { data_type => "varchar", is_nullable => 1, size => 10 },
228   "isbn",
229   { data_type => "mediumtext", is_nullable => 1 },
230   "issn",
231   { data_type => "mediumtext", is_nullable => 1 },
232   "ean",
233   { data_type => "varchar", is_nullable => 1, size => 13 },
234   "publicationyear",
235   { data_type => "text", is_nullable => 1 },
236   "publishercode",
237   { data_type => "varchar", is_nullable => 1, size => 255 },
238   "volumedate",
239   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
240   "volumedesc",
241   { data_type => "text", is_nullable => 1 },
242   "collectiontitle",
243   { data_type => "mediumtext", is_nullable => 1 },
244   "collectionissn",
245   { data_type => "text", is_nullable => 1 },
246   "collectionvolume",
247   { data_type => "mediumtext", is_nullable => 1 },
248   "editionstatement",
249   { data_type => "text", is_nullable => 1 },
250   "editionresponsibility",
251   { data_type => "text", is_nullable => 1 },
252   "timestamp",
253   {
254     data_type => "timestamp",
255     datetime_undef_if_invalid => 1,
256     default_value => \"current_timestamp",
257     is_nullable => 0,
258   },
259   "illus",
260   { data_type => "varchar", is_nullable => 1, size => 255 },
261   "pages",
262   { data_type => "varchar", is_nullable => 1, size => 255 },
263   "notes",
264   { data_type => "mediumtext", is_nullable => 1 },
265   "size",
266   { data_type => "varchar", is_nullable => 1, size => 255 },
267   "place",
268   { data_type => "varchar", is_nullable => 1, size => 255 },
269   "lccn",
270   { data_type => "varchar", is_nullable => 1, size => 25 },
271   "marc",
272   { data_type => "longblob", is_nullable => 1 },
273   "url",
274   { data_type => "text", is_nullable => 1 },
275   "cn_source",
276   { data_type => "varchar", is_nullable => 1, size => 10 },
277   "cn_class",
278   { data_type => "varchar", is_nullable => 1, size => 30 },
279   "cn_item",
280   { data_type => "varchar", is_nullable => 1, size => 10 },
281   "cn_suffix",
282   { data_type => "varchar", is_nullable => 1, size => 10 },
283   "cn_sort",
284   { data_type => "varchar", is_nullable => 1, size => 255 },
285   "agerestriction",
286   { data_type => "varchar", is_nullable => 1, size => 255 },
287   "totalissues",
288   { data_type => "integer", is_nullable => 1 },
289   "marcxml",
290   { data_type => "longtext", is_nullable => 1 },
291 );
292
293 =head1 PRIMARY KEY
294
295 =over 4
296
297 =item * L</biblioitemnumber>
298
299 =back
300
301 =cut
302
303 __PACKAGE__->set_primary_key("biblioitemnumber");
304
305
306 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-02-24 14:19:57
307 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RTMXhtMKvih1zhllHwwwYQ
308
309
310 # You can replace this text with custom content, and it will be preserved on regeneration
311 1;