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

(-)a/Koha/Schema/Result/Borrower.pm (-38 / +32 lines)
Lines 260-296 __PACKAGE__->table("borrowers"); Link Here
260
  is_nullable: 1
260
  is_nullable: 1
261
  size: 255
261
  size: 255
262
262
263
=head2 contactname
264
265
  data_type: 'longtext'
266
  is_nullable: 1
267
268
=head2 contactfirstname
269
270
  data_type: 'mediumtext'
271
  is_nullable: 1
272
273
=head2 contacttitle
274
275
  data_type: 'mediumtext'
276
  is_nullable: 1
277
278
=head2 guarantorid
279
280
  data_type: 'integer'
281
  is_nullable: 1
282
283
=head2 borrowernotes
263
=head2 borrowernotes
284
264
285
  data_type: 'longtext'
265
  data_type: 'longtext'
286
  is_nullable: 1
266
  is_nullable: 1
287
267
288
=head2 relationship
289
290
  data_type: 'varchar'
291
  is_nullable: 1
292
  size: 100
293
294
=head2 sex
268
=head2 sex
295
269
296
  data_type: 'varchar'
270
  data_type: 'varchar'
Lines 568-585 __PACKAGE__->add_columns( Link Here
568
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
542
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
569
  "debarredcomment",
543
  "debarredcomment",
570
  { data_type => "varchar", is_nullable => 1, size => 255 },
544
  { data_type => "varchar", is_nullable => 1, size => 255 },
571
  "contactname",
572
  { data_type => "longtext", is_nullable => 1 },
573
  "contactfirstname",
574
  { data_type => "mediumtext", is_nullable => 1 },
575
  "contacttitle",
576
  { data_type => "mediumtext", is_nullable => 1 },
577
  "guarantorid",
578
  { data_type => "integer", is_nullable => 1 },
579
  "borrowernotes",
545
  "borrowernotes",
580
  { data_type => "longtext", is_nullable => 1 },
546
  { data_type => "longtext", is_nullable => 1 },
581
  "relationship",
582
  { data_type => "varchar", is_nullable => 1, size => 100 },
583
  "sex",
547
  "sex",
584
  { data_type => "varchar", is_nullable => 1, size => 1 },
548
  { data_type => "varchar", is_nullable => 1, size => 1 },
585
  "password",
549
  "password",
Lines 860-865 __PACKAGE__->has_many( Link Here
860
  { cascade_copy => 0, cascade_delete => 0 },
824
  { cascade_copy => 0, cascade_delete => 0 },
861
);
825
);
862
826
827
=head2 borrower_relationships_guarantees
828
829
Type: has_many
830
831
Related object: L<Koha::Schema::Result::BorrowerRelationship>
832
833
=cut
834
835
__PACKAGE__->has_many(
836
  "borrower_relationships_guarantees",
837
  "Koha::Schema::Result::BorrowerRelationship",
838
  { "foreign.guarantee_id" => "self.borrowernumber" },
839
  { cascade_copy => 0, cascade_delete => 0 },
840
);
841
842
=head2 borrower_relationships_guarantors
843
844
Type: has_many
845
846
Related object: L<Koha::Schema::Result::BorrowerRelationship>
847
848
=cut
849
850
__PACKAGE__->has_many(
851
  "borrower_relationships_guarantors",
852
  "Koha::Schema::Result::BorrowerRelationship",
853
  { "foreign.guarantor_id" => "self.borrowernumber" },
854
  { cascade_copy => 0, cascade_delete => 0 },
855
);
856
863
=head2 borrower_syncs
857
=head2 borrower_syncs
864
858
865
Type: has_many
859
Type: has_many
Lines 1416-1423 Composing rels: L</aqorder_users> -> ordernumber Link Here
1416
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1410
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1417
1411
1418
1412
1419
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-06 14:12:40
1413
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-07-17 11:22:45
1420
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LaQWPXzF1Amzt8fgEEyHdg
1414
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:x5WLvZYRhOpWEK80B0KpMA
1421
1415
1422
__PACKAGE__->add_columns(
1416
__PACKAGE__->add_columns(
1423
    '+lost' => { is_boolean => 1 },
1417
    '+lost' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/BorrowerModification.pm (-38 / +2 lines)
Lines 270-306 __PACKAGE__->table("borrower_modifications"); Link Here
270
  is_nullable: 1
270
  is_nullable: 1
271
  size: 255
271
  size: 255
272
272
273
=head2 contactname
274
275
  data_type: 'longtext'
276
  is_nullable: 1
277
278
=head2 contactfirstname
279
280
  data_type: 'mediumtext'
281
  is_nullable: 1
282
283
=head2 contacttitle
284
285
  data_type: 'mediumtext'
286
  is_nullable: 1
287
288
=head2 guarantorid
289
290
  data_type: 'integer'
291
  is_nullable: 1
292
293
=head2 borrowernotes
273
=head2 borrowernotes
294
274
295
  data_type: 'longtext'
275
  data_type: 'longtext'
296
  is_nullable: 1
276
  is_nullable: 1
297
277
298
=head2 relationship
299
300
  data_type: 'varchar'
301
  is_nullable: 1
302
  size: 100
303
304
=head2 sex
278
=head2 sex
305
279
306
  data_type: 'varchar'
280
  data_type: 'varchar'
Lines 529-546 __PACKAGE__->add_columns( Link Here
529
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
503
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
530
  "debarredcomment",
504
  "debarredcomment",
531
  { data_type => "varchar", is_nullable => 1, size => 255 },
505
  { data_type => "varchar", is_nullable => 1, size => 255 },
532
  "contactname",
533
  { data_type => "longtext", is_nullable => 1 },
534
  "contactfirstname",
535
  { data_type => "mediumtext", is_nullable => 1 },
536
  "contacttitle",
537
  { data_type => "mediumtext", is_nullable => 1 },
538
  "guarantorid",
539
  { data_type => "integer", is_nullable => 1 },
540
  "borrowernotes",
506
  "borrowernotes",
541
  { data_type => "longtext", is_nullable => 1 },
507
  { data_type => "longtext", is_nullable => 1 },
542
  "relationship",
543
  { data_type => "varchar", is_nullable => 1, size => 100 },
544
  "sex",
508
  "sex",
545
  { data_type => "varchar", is_nullable => 1, size => 1 },
509
  { data_type => "varchar", is_nullable => 1, size => 1 },
546
  "password",
510
  "password",
Lines 598-605 __PACKAGE__->add_columns( Link Here
598
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
562
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
599
563
600
564
601
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
565
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-07-16 18:16:27
602
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Vv0bJqR71Ust1MZAkYqTig
566
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZCECOuaaj/hc2A9gZtGC/w
603
567
604
568
605
# You can replace this text with custom content, and it will be preserved on regeneration
569
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Deletedborrower.pm (-39 / +2 lines)
Lines 258-294 __PACKAGE__->table("deletedborrowers"); Link Here
258
  is_nullable: 1
258
  is_nullable: 1
259
  size: 255
259
  size: 255
260
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
261
=head2 borrowernotes
282
262
283
  data_type: 'longtext'
263
  data_type: 'longtext'
284
  is_nullable: 1
264
  is_nullable: 1
285
265
286
=head2 relationship
287
288
  data_type: 'varchar'
289
  is_nullable: 1
290
  size: 100
291
292
=head2 sex
266
=head2 sex
293
267
294
  data_type: 'varchar'
268
  data_type: 'varchar'
Lines 553-570 __PACKAGE__->add_columns( Link Here
553
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
527
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
554
  "debarredcomment",
528
  "debarredcomment",
555
  { data_type => "varchar", is_nullable => 1, size => 255 },
529
  { data_type => "varchar", is_nullable => 1, size => 255 },
556
  "contactname",
557
  { data_type => "longtext", is_nullable => 1 },
558
  "contactfirstname",
559
  { data_type => "mediumtext", is_nullable => 1 },
560
  "contacttitle",
561
  { data_type => "mediumtext", is_nullable => 1 },
562
  "guarantorid",
563
  { data_type => "integer", is_nullable => 1 },
564
  "borrowernotes",
530
  "borrowernotes",
565
  { data_type => "longtext", is_nullable => 1 },
531
  { data_type => "longtext", is_nullable => 1 },
566
  "relationship",
567
  { data_type => "varchar", is_nullable => 1, size => 100 },
568
  "sex",
532
  "sex",
569
  { data_type => "varchar", is_nullable => 1, size => 1 },
533
  { data_type => "varchar", is_nullable => 1, size => 1 },
570
  "password",
534
  "password",
Lines 641-648 __PACKAGE__->add_columns( Link Here
641
);
605
);
642
606
643
607
644
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
608
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-07-16 18:16:28
645
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DNkNHNcv0lkMH6/seu89hg
609
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Xt/lmtOOCP+X3L2IMtcXlw
646
610
647
611
648
# You can replace this text with custom code or comments, and it will be preserved on regeneration
612
# You can replace this text with custom code or comments, and it will be preserved on regeneration
649
- 

Return to bug 14570