Bug 22729: DBRev 18.12.00.061
[koha-equinox.git] / Koha / Schema / Result / Deletedborrower.pm
1 use utf8;
2 package Koha::Schema::Result::Deletedborrower;
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::Deletedborrower
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<deletedborrowers>
19
20 =cut
21
22 __PACKAGE__->table("deletedborrowers");
23
24 =head1 ACCESSORS
25
26 =head2 borrowernumber
27
28   data_type: 'integer'
29   default_value: 0
30   is_nullable: 0
31
32 =head2 cardnumber
33
34   data_type: 'varchar'
35   is_nullable: 1
36   size: 32
37
38 =head2 surname
39
40   data_type: 'longtext'
41   is_nullable: 1
42
43 =head2 firstname
44
45   data_type: 'mediumtext'
46   is_nullable: 1
47
48 =head2 title
49
50   data_type: 'longtext'
51   is_nullable: 1
52
53 =head2 othernames
54
55   data_type: 'longtext'
56   is_nullable: 1
57
58 =head2 initials
59
60   data_type: 'mediumtext'
61   is_nullable: 1
62
63 =head2 streetnumber
64
65   data_type: 'varchar'
66   is_nullable: 1
67   size: 10
68
69 =head2 streettype
70
71   data_type: 'varchar'
72   is_nullable: 1
73   size: 50
74
75 =head2 address
76
77   data_type: 'longtext'
78   is_nullable: 1
79
80 =head2 address2
81
82   data_type: 'mediumtext'
83   is_nullable: 1
84
85 =head2 city
86
87   data_type: 'longtext'
88   is_nullable: 1
89
90 =head2 state
91
92   data_type: 'mediumtext'
93   is_nullable: 1
94
95 =head2 zipcode
96
97   data_type: 'varchar'
98   is_nullable: 1
99   size: 25
100
101 =head2 country
102
103   data_type: 'mediumtext'
104   is_nullable: 1
105
106 =head2 email
107
108   data_type: 'longtext'
109   is_nullable: 1
110
111 =head2 phone
112
113   data_type: 'mediumtext'
114   is_nullable: 1
115
116 =head2 mobile
117
118   data_type: 'varchar'
119   is_nullable: 1
120   size: 50
121
122 =head2 fax
123
124   data_type: 'longtext'
125   is_nullable: 1
126
127 =head2 emailpro
128
129   data_type: 'mediumtext'
130   is_nullable: 1
131
132 =head2 phonepro
133
134   data_type: 'mediumtext'
135   is_nullable: 1
136
137 =head2 B_streetnumber
138
139   accessor: 'b_streetnumber'
140   data_type: 'varchar'
141   is_nullable: 1
142   size: 10
143
144 =head2 B_streettype
145
146   accessor: 'b_streettype'
147   data_type: 'varchar'
148   is_nullable: 1
149   size: 50
150
151 =head2 B_address
152
153   accessor: 'b_address'
154   data_type: 'varchar'
155   is_nullable: 1
156   size: 100
157
158 =head2 B_address2
159
160   accessor: 'b_address2'
161   data_type: 'mediumtext'
162   is_nullable: 1
163
164 =head2 B_city
165
166   accessor: 'b_city'
167   data_type: 'longtext'
168   is_nullable: 1
169
170 =head2 B_state
171
172   accessor: 'b_state'
173   data_type: 'mediumtext'
174   is_nullable: 1
175
176 =head2 B_zipcode
177
178   accessor: 'b_zipcode'
179   data_type: 'varchar'
180   is_nullable: 1
181   size: 25
182
183 =head2 B_country
184
185   accessor: 'b_country'
186   data_type: 'mediumtext'
187   is_nullable: 1
188
189 =head2 B_email
190
191   accessor: 'b_email'
192   data_type: 'mediumtext'
193   is_nullable: 1
194
195 =head2 B_phone
196
197   accessor: 'b_phone'
198   data_type: 'longtext'
199   is_nullable: 1
200
201 =head2 dateofbirth
202
203   data_type: 'date'
204   datetime_undef_if_invalid: 1
205   is_nullable: 1
206
207 =head2 branchcode
208
209   data_type: 'varchar'
210   default_value: (empty string)
211   is_nullable: 0
212   size: 10
213
214 =head2 categorycode
215
216   data_type: 'varchar'
217   default_value: (empty string)
218   is_nullable: 0
219   size: 10
220
221 =head2 dateenrolled
222
223   data_type: 'date'
224   datetime_undef_if_invalid: 1
225   is_nullable: 1
226
227 =head2 dateexpiry
228
229   data_type: 'date'
230   datetime_undef_if_invalid: 1
231   is_nullable: 1
232
233 =head2 date_renewed
234
235   data_type: 'date'
236   datetime_undef_if_invalid: 1
237   is_nullable: 1
238
239 =head2 gonenoaddress
240
241   data_type: 'tinyint'
242   is_nullable: 1
243
244 =head2 lost
245
246   data_type: 'tinyint'
247   is_nullable: 1
248
249 =head2 debarred
250
251   data_type: 'date'
252   datetime_undef_if_invalid: 1
253   is_nullable: 1
254
255 =head2 debarredcomment
256
257   data_type: 'varchar'
258   is_nullable: 1
259   size: 255
260
261 =head2 contactname
262
263   data_type: 'longtext'
264   is_nullable: 1
265
266 =head2 contactfirstname
267
268   data_type: 'mediumtext'
269   is_nullable: 1
270
271 =head2 contacttitle
272
273   data_type: 'mediumtext'
274   is_nullable: 1
275
276 =head2 guarantorid
277
278   data_type: 'integer'
279   is_nullable: 1
280
281 =head2 borrowernotes
282
283   data_type: 'longtext'
284   is_nullable: 1
285
286 =head2 relationship
287
288   data_type: 'varchar'
289   is_nullable: 1
290   size: 100
291
292 =head2 sex
293
294   data_type: 'varchar'
295   is_nullable: 1
296   size: 1
297
298 =head2 password
299
300   data_type: 'varchar'
301   is_nullable: 1
302   size: 60
303
304 =head2 flags
305
306   data_type: 'integer'
307   is_nullable: 1
308
309 =head2 userid
310
311   data_type: 'varchar'
312   is_nullable: 1
313   size: 75
314
315 =head2 opacnote
316
317   data_type: 'longtext'
318   is_nullable: 1
319
320 =head2 contactnote
321
322   data_type: 'varchar'
323   is_nullable: 1
324   size: 255
325
326 =head2 sort1
327
328   data_type: 'varchar'
329   is_nullable: 1
330   size: 80
331
332 =head2 sort2
333
334   data_type: 'varchar'
335   is_nullable: 1
336   size: 80
337
338 =head2 altcontactfirstname
339
340   data_type: 'varchar'
341   is_nullable: 1
342   size: 255
343
344 =head2 altcontactsurname
345
346   data_type: 'varchar'
347   is_nullable: 1
348   size: 255
349
350 =head2 altcontactaddress1
351
352   data_type: 'varchar'
353   is_nullable: 1
354   size: 255
355
356 =head2 altcontactaddress2
357
358   data_type: 'varchar'
359   is_nullable: 1
360   size: 255
361
362 =head2 altcontactaddress3
363
364   data_type: 'varchar'
365   is_nullable: 1
366   size: 255
367
368 =head2 altcontactstate
369
370   data_type: 'mediumtext'
371   is_nullable: 1
372
373 =head2 altcontactzipcode
374
375   data_type: 'varchar'
376   is_nullable: 1
377   size: 50
378
379 =head2 altcontactcountry
380
381   data_type: 'mediumtext'
382   is_nullable: 1
383
384 =head2 altcontactphone
385
386   data_type: 'varchar'
387   is_nullable: 1
388   size: 50
389
390 =head2 smsalertnumber
391
392   data_type: 'varchar'
393   is_nullable: 1
394   size: 50
395
396 =head2 sms_provider_id
397
398   data_type: 'integer'
399   is_nullable: 1
400
401 =head2 privacy
402
403   data_type: 'integer'
404   default_value: 1
405   is_nullable: 0
406
407 =head2 privacy_guarantor_checkouts
408
409   data_type: 'tinyint'
410   default_value: 0
411   is_nullable: 0
412
413 =head2 checkprevcheckout
414
415   data_type: 'varchar'
416   default_value: 'inherit'
417   is_nullable: 0
418   size: 7
419
420 =head2 updated_on
421
422   data_type: 'timestamp'
423   datetime_undef_if_invalid: 1
424   default_value: current_timestamp
425   is_nullable: 0
426
427 =head2 lastseen
428
429   data_type: 'datetime'
430   datetime_undef_if_invalid: 1
431   is_nullable: 1
432
433 =head2 lang
434
435   data_type: 'varchar'
436   default_value: 'default'
437   is_nullable: 0
438   size: 25
439
440 =head2 login_attempts
441
442   data_type: 'integer'
443   default_value: 0
444   is_nullable: 1
445
446 =head2 overdrive_auth_token
447
448   data_type: 'mediumtext'
449   is_nullable: 1
450
451 =head2 anonymized
452
453   data_type: 'tinyint'
454   default_value: 0
455   is_nullable: 0
456
457 =cut
458
459 __PACKAGE__->add_columns(
460   "borrowernumber",
461   { data_type => "integer", default_value => 0, is_nullable => 0 },
462   "cardnumber",
463   { data_type => "varchar", is_nullable => 1, size => 32 },
464   "surname",
465   { data_type => "longtext", is_nullable => 1 },
466   "firstname",
467   { data_type => "mediumtext", is_nullable => 1 },
468   "title",
469   { data_type => "longtext", is_nullable => 1 },
470   "othernames",
471   { data_type => "longtext", is_nullable => 1 },
472   "initials",
473   { data_type => "mediumtext", is_nullable => 1 },
474   "streetnumber",
475   { data_type => "varchar", is_nullable => 1, size => 10 },
476   "streettype",
477   { data_type => "varchar", is_nullable => 1, size => 50 },
478   "address",
479   { data_type => "longtext", is_nullable => 1 },
480   "address2",
481   { data_type => "mediumtext", is_nullable => 1 },
482   "city",
483   { data_type => "longtext", is_nullable => 1 },
484   "state",
485   { data_type => "mediumtext", is_nullable => 1 },
486   "zipcode",
487   { data_type => "varchar", is_nullable => 1, size => 25 },
488   "country",
489   { data_type => "mediumtext", is_nullable => 1 },
490   "email",
491   { data_type => "longtext", is_nullable => 1 },
492   "phone",
493   { data_type => "mediumtext", is_nullable => 1 },
494   "mobile",
495   { data_type => "varchar", is_nullable => 1, size => 50 },
496   "fax",
497   { data_type => "longtext", is_nullable => 1 },
498   "emailpro",
499   { data_type => "mediumtext", is_nullable => 1 },
500   "phonepro",
501   { data_type => "mediumtext", is_nullable => 1 },
502   "B_streetnumber",
503   {
504     accessor => "b_streetnumber",
505     data_type => "varchar",
506     is_nullable => 1,
507     size => 10,
508   },
509   "B_streettype",
510   {
511     accessor => "b_streettype",
512     data_type => "varchar",
513     is_nullable => 1,
514     size => 50,
515   },
516   "B_address",
517   {
518     accessor => "b_address",
519     data_type => "varchar",
520     is_nullable => 1,
521     size => 100,
522   },
523   "B_address2",
524   { accessor => "b_address2", data_type => "mediumtext", is_nullable => 1 },
525   "B_city",
526   { accessor => "b_city", data_type => "longtext", is_nullable => 1 },
527   "B_state",
528   { accessor => "b_state", data_type => "mediumtext", is_nullable => 1 },
529   "B_zipcode",
530   {
531     accessor => "b_zipcode",
532     data_type => "varchar",
533     is_nullable => 1,
534     size => 25,
535   },
536   "B_country",
537   { accessor => "b_country", data_type => "mediumtext", is_nullable => 1 },
538   "B_email",
539   { accessor => "b_email", data_type => "mediumtext", is_nullable => 1 },
540   "B_phone",
541   { accessor => "b_phone", data_type => "longtext", is_nullable => 1 },
542   "dateofbirth",
543   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
544   "branchcode",
545   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
546   "categorycode",
547   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
548   "dateenrolled",
549   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
550   "dateexpiry",
551   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
552   "date_renewed",
553   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
554   "gonenoaddress",
555   { data_type => "tinyint", is_nullable => 1 },
556   "lost",
557   { data_type => "tinyint", is_nullable => 1 },
558   "debarred",
559   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
560   "debarredcomment",
561   { data_type => "varchar", is_nullable => 1, size => 255 },
562   "contactname",
563   { data_type => "longtext", is_nullable => 1 },
564   "contactfirstname",
565   { data_type => "mediumtext", is_nullable => 1 },
566   "contacttitle",
567   { data_type => "mediumtext", is_nullable => 1 },
568   "guarantorid",
569   { data_type => "integer", is_nullable => 1 },
570   "borrowernotes",
571   { data_type => "longtext", is_nullable => 1 },
572   "relationship",
573   { data_type => "varchar", is_nullable => 1, size => 100 },
574   "sex",
575   { data_type => "varchar", is_nullable => 1, size => 1 },
576   "password",
577   { data_type => "varchar", is_nullable => 1, size => 60 },
578   "flags",
579   { data_type => "integer", is_nullable => 1 },
580   "userid",
581   { data_type => "varchar", is_nullable => 1, size => 75 },
582   "opacnote",
583   { data_type => "longtext", is_nullable => 1 },
584   "contactnote",
585   { data_type => "varchar", is_nullable => 1, size => 255 },
586   "sort1",
587   { data_type => "varchar", is_nullable => 1, size => 80 },
588   "sort2",
589   { data_type => "varchar", is_nullable => 1, size => 80 },
590   "altcontactfirstname",
591   { data_type => "varchar", is_nullable => 1, size => 255 },
592   "altcontactsurname",
593   { data_type => "varchar", is_nullable => 1, size => 255 },
594   "altcontactaddress1",
595   { data_type => "varchar", is_nullable => 1, size => 255 },
596   "altcontactaddress2",
597   { data_type => "varchar", is_nullable => 1, size => 255 },
598   "altcontactaddress3",
599   { data_type => "varchar", is_nullable => 1, size => 255 },
600   "altcontactstate",
601   { data_type => "mediumtext", is_nullable => 1 },
602   "altcontactzipcode",
603   { data_type => "varchar", is_nullable => 1, size => 50 },
604   "altcontactcountry",
605   { data_type => "mediumtext", is_nullable => 1 },
606   "altcontactphone",
607   { data_type => "varchar", is_nullable => 1, size => 50 },
608   "smsalertnumber",
609   { data_type => "varchar", is_nullable => 1, size => 50 },
610   "sms_provider_id",
611   { data_type => "integer", is_nullable => 1 },
612   "privacy",
613   { data_type => "integer", default_value => 1, is_nullable => 0 },
614   "privacy_guarantor_checkouts",
615   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
616   "checkprevcheckout",
617   {
618     data_type => "varchar",
619     default_value => "inherit",
620     is_nullable => 0,
621     size => 7,
622   },
623   "updated_on",
624   {
625     data_type => "timestamp",
626     datetime_undef_if_invalid => 1,
627     default_value => \"current_timestamp",
628     is_nullable => 0,
629   },
630   "lastseen",
631   {
632     data_type => "datetime",
633     datetime_undef_if_invalid => 1,
634     is_nullable => 1,
635   },
636   "lang",
637   {
638     data_type => "varchar",
639     default_value => "default",
640     is_nullable => 0,
641     size => 25,
642   },
643   "login_attempts",
644   { data_type => "integer", default_value => 0, is_nullable => 1 },
645   "overdrive_auth_token",
646   { data_type => "mediumtext", is_nullable => 1 },
647   "anonymized",
648   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
649 );
650
651
652 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-25 10:08:38
653 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hzKeGjtecf3VyEvaBhDmUg
654
655
656 # You can replace this text with custom code or comments, and it will be preserved on regeneration
657 1;