View | Details | Raw Unified | Return to bug 16034
Collapse All | Expand All

(-)a/Koha/Schema/Result/Borrower.pm (-26 / +31 lines)
Lines 89-95 __PACKAGE__->table("borrowers"); Link Here
89
89
90
=head2 state
90
=head2 state
91
91
92
  data_type: 'text'
92
  data_type: 'mediumtext'
93
  is_nullable: 1
93
  is_nullable: 1
94
94
95
=head2 zipcode
95
=head2 zipcode
Lines 170-176 __PACKAGE__->table("borrowers"); Link Here
170
=head2 B_state
170
=head2 B_state
171
171
172
  accessor: 'b_state'
172
  accessor: 'b_state'
173
  data_type: 'text'
173
  data_type: 'mediumtext'
174
  is_nullable: 1
174
  is_nullable: 1
175
175
176
=head2 B_zipcode
176
=head2 B_zipcode
Lines 285-290 __PACKAGE__->table("borrowers"); Link Here
285
  is_nullable: 1
285
  is_nullable: 1
286
  size: 100
286
  size: 100
287
287
288
=head2 ethnicity
289
290
  data_type: 'varchar'
291
  is_nullable: 1
292
  size: 50
293
294
=head2 ethnotes
295
296
  data_type: 'varchar'
297
  is_nullable: 1
298
  size: 255
299
288
=head2 sex
300
=head2 sex
289
301
290
  data_type: 'varchar'
302
  data_type: 'varchar'
Lines 363-369 __PACKAGE__->table("borrowers"); Link Here
363
375
364
=head2 altcontactstate
376
=head2 altcontactstate
365
377
366
  data_type: 'text'
378
  data_type: 'mediumtext'
367
  is_nullable: 1
379
  is_nullable: 1
368
380
369
=head2 altcontactzipcode
381
=head2 altcontactzipcode
Lines 419-425 __PACKAGE__->table("borrowers"); Link Here
419
  data_type: 'timestamp'
431
  data_type: 'timestamp'
420
  datetime_undef_if_invalid: 1
432
  datetime_undef_if_invalid: 1
421
  default_value: current_timestamp
433
  default_value: current_timestamp
422
  is_nullable: 0
434
  is_nullable: 1
423
435
424
=head2 lastseen
436
=head2 lastseen
425
437
Lines 427-432 __PACKAGE__->table("borrowers"); Link Here
427
  datetime_undef_if_invalid: 1
439
  datetime_undef_if_invalid: 1
428
  is_nullable: 1
440
  is_nullable: 1
429
441
442
=head2 overdrive_auth_token
443
444
  data_type: 'text'
445
  is_nullable: 1
446
430
=cut
447
=cut
431
448
432
__PACKAGE__->add_columns(
449
__PACKAGE__->add_columns(
Lines 455-461 __PACKAGE__->add_columns( Link Here
455
  "city",
472
  "city",
456
  { data_type => "mediumtext", is_nullable => 0 },
473
  { data_type => "mediumtext", is_nullable => 0 },
457
  "state",
474
  "state",
458
  { data_type => "text", is_nullable => 1 },
475
  { data_type => "mediumtext", is_nullable => 1 },
459
  "zipcode",
476
  "zipcode",
460
  { data_type => "varchar", is_nullable => 1, size => 25 },
477
  { data_type => "varchar", is_nullable => 1, size => 25 },
461
  "country",
478
  "country",
Lines 498-504 __PACKAGE__->add_columns( Link Here
498
  "B_city",
515
  "B_city",
499
  { accessor => "b_city", data_type => "mediumtext", is_nullable => 1 },
516
  { accessor => "b_city", data_type => "mediumtext", is_nullable => 1 },
500
  "B_state",
517
  "B_state",
501
  { accessor => "b_state", data_type => "text", is_nullable => 1 },
518
  { accessor => "b_state", data_type => "mediumtext", is_nullable => 1 },
502
  "B_zipcode",
519
  "B_zipcode",
503
  {
520
  {
504
    accessor => "b_zipcode",
521
    accessor => "b_zipcode",
Lines 554-559 __PACKAGE__->add_columns( Link Here
554
  { data_type => "mediumtext", is_nullable => 1 },
571
  { data_type => "mediumtext", is_nullable => 1 },
555
  "relationship",
572
  "relationship",
556
  { data_type => "varchar", is_nullable => 1, size => 100 },
573
  { data_type => "varchar", is_nullable => 1, size => 100 },
574
  "ethnicity",
575
  { data_type => "varchar", is_nullable => 1, size => 50 },
576
  "ethnotes",
577
  { data_type => "varchar", is_nullable => 1, size => 255 },
557
  "sex",
578
  "sex",
558
  { data_type => "varchar", is_nullable => 1, size => 1 },
579
  { data_type => "varchar", is_nullable => 1, size => 1 },
559
  "password",
580
  "password",
Lines 581-587 __PACKAGE__->add_columns( Link Here
581
  "altcontactaddress3",
602
  "altcontactaddress3",
582
  { data_type => "varchar", is_nullable => 1, size => 255 },
603
  { data_type => "varchar", is_nullable => 1, size => 255 },
583
  "altcontactstate",
604
  "altcontactstate",
584
  { data_type => "text", is_nullable => 1 },
605
  { data_type => "mediumtext", is_nullable => 1 },
585
  "altcontactzipcode",
606
  "altcontactzipcode",
586
  { data_type => "varchar", is_nullable => 1, size => 50 },
607
  { data_type => "varchar", is_nullable => 1, size => 50 },
587
  "altcontactcountry",
608
  "altcontactcountry",
Lines 608-614 __PACKAGE__->add_columns( Link Here
608
    data_type => "timestamp",
629
    data_type => "timestamp",
609
    datetime_undef_if_invalid => 1,
630
    datetime_undef_if_invalid => 1,
610
    default_value => \"current_timestamp",
631
    default_value => \"current_timestamp",
611
    is_nullable => 0,
632
    is_nullable => 1,
612
  },
633
  },
613
  "lastseen",
634
  "lastseen",
614
  {
635
  {
Lines 1125-1145 __PACKAGE__->might_have( Link Here
1125
  { cascade_copy => 0, cascade_delete => 0 },
1146
  { cascade_copy => 0, cascade_delete => 0 },
1126
);
1147
);
1127
1148
1128
=head2 ratings
1129
1130
Type: has_many
1131
1132
Related object: L<Koha::Schema::Result::Rating>
1133
1134
=cut
1135
1136
__PACKAGE__->has_many(
1137
  "ratings",
1138
  "Koha::Schema::Result::Rating",
1139
  { "foreign.borrowernumber" => "self.borrowernumber" },
1140
  { cascade_copy => 0, cascade_delete => 0 },
1141
);
1142
1143
=head2 reserves
1149
=head2 reserves
1144
1150
1145
Type: has_many
1151
Type: has_many
Lines 1336-1343 Composing rels: L</aqorder_users> -> ordernumber Link Here
1336
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1342
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1337
1343
1338
1344
1339
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-10-31 10:39:35
1345
# Created by DBIx::Class::Schema::Loader v0.07045 @ 2017-02-24 12:22:35
1340
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Lc6GQ2E7d+tyzTk3v2sWjQ
1346
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jNH2nYxGMamXKH5lwnJmTA
1341
1347
1342
__PACKAGE__->belongs_to(
1348
__PACKAGE__->belongs_to(
1343
    "guarantor",
1349
    "guarantor",
1344
- 

Return to bug 16034