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

(-)a/Koha/Schema/Result/Borrower.pm (-9 / +32 lines)
Lines 275-285 __PACKAGE__->table("borrowers"); Link Here
275
  data_type: 'mediumtext'
275
  data_type: 'mediumtext'
276
  is_nullable: 1
276
  is_nullable: 1
277
277
278
=head2 guarantorid
279
280
  data_type: 'integer'
281
  is_nullable: 1
282
283
=head2 borrowernotes
278
=head2 borrowernotes
284
279
285
  data_type: 'longtext'
280
  data_type: 'longtext'
Lines 574-581 __PACKAGE__->add_columns( Link Here
574
  { data_type => "mediumtext", is_nullable => 1 },
569
  { data_type => "mediumtext", is_nullable => 1 },
575
  "contacttitle",
570
  "contacttitle",
576
  { data_type => "mediumtext", is_nullable => 1 },
571
  { data_type => "mediumtext", is_nullable => 1 },
577
  "guarantorid",
578
  { data_type => "integer", is_nullable => 1 },
579
  "borrowernotes",
572
  "borrowernotes",
580
  { data_type => "longtext", is_nullable => 1 },
573
  { data_type => "longtext", is_nullable => 1 },
581
  "relationship",
574
  "relationship",
Lines 860-865 __PACKAGE__->has_many( Link Here
860
  { cascade_copy => 0, cascade_delete => 0 },
853
  { cascade_copy => 0, cascade_delete => 0 },
861
);
854
);
862
855
856
=head2 borrower_relationships_guarantees
857
858
Type: has_many
859
860
Related object: L<Koha::Schema::Result::BorrowerRelationship>
861
862
=cut
863
864
__PACKAGE__->has_many(
865
  "borrower_relationships_guarantees",
866
  "Koha::Schema::Result::BorrowerRelationship",
867
  { "foreign.guarantee_id" => "self.borrowernumber" },
868
  { cascade_copy => 0, cascade_delete => 0 },
869
);
870
871
=head2 borrower_relationships_guarantors
872
873
Type: has_many
874
875
Related object: L<Koha::Schema::Result::BorrowerRelationship>
876
877
=cut
878
879
__PACKAGE__->has_many(
880
  "borrower_relationships_guarantors",
881
  "Koha::Schema::Result::BorrowerRelationship",
882
  { "foreign.guarantor_id" => "self.borrowernumber" },
883
  { cascade_copy => 0, cascade_delete => 0 },
884
);
885
863
=head2 borrower_syncs
886
=head2 borrower_syncs
864
887
865
Type: has_many
888
Type: has_many
Lines 1416-1423 Composing rels: L</aqorder_users> -> ordernumber Link Here
1416
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1439
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1417
1440
1418
1441
1419
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-06 14:12:40
1442
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-07-18 13:21:15
1420
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LaQWPXzF1Amzt8fgEEyHdg
1443
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5PfG8Glz4h6UlJjRK0Hh1g
1421
1444
1422
__PACKAGE__->add_columns(
1445
__PACKAGE__->add_columns(
1423
    '+lost' => { is_boolean => 1 },
1446
    '+lost' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/BorrowerModification.pm (-2 / +2 lines)
Lines 598-605 __PACKAGE__->add_columns( Link Here
598
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
598
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
599
599
600
600
601
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
601
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-07-18 13:21:15
602
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Vv0bJqR71Ust1MZAkYqTig
602
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OVrqAY9dj0OFMHbaiBAFwg
603
603
604
604
605
# You can replace this text with custom content, and it will be preserved on regeneration
605
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Deletedborrower.pm (-10 / +2 lines)
Lines 273-283 __PACKAGE__->table("deletedborrowers"); Link Here
273
  data_type: 'mediumtext'
273
  data_type: 'mediumtext'
274
  is_nullable: 1
274
  is_nullable: 1
275
275
276
=head2 guarantorid
277
278
  data_type: 'integer'
279
  is_nullable: 1
280
281
=head2 borrowernotes
276
=head2 borrowernotes
282
277
283
  data_type: 'longtext'
278
  data_type: 'longtext'
Lines 559-566 __PACKAGE__->add_columns( Link Here
559
  { data_type => "mediumtext", is_nullable => 1 },
554
  { data_type => "mediumtext", is_nullable => 1 },
560
  "contacttitle",
555
  "contacttitle",
561
  { data_type => "mediumtext", is_nullable => 1 },
556
  { data_type => "mediumtext", is_nullable => 1 },
562
  "guarantorid",
563
  { data_type => "integer", is_nullable => 1 },
564
  "borrowernotes",
557
  "borrowernotes",
565
  { data_type => "longtext", is_nullable => 1 },
558
  { data_type => "longtext", is_nullable => 1 },
566
  "relationship",
559
  "relationship",
Lines 641-648 __PACKAGE__->add_columns( Link Here
641
);
634
);
642
635
643
636
644
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
637
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-07-18 13:21:15
645
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DNkNHNcv0lkMH6/seu89hg
638
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IAXQcqaoCDra+WVkyaikng
646
639
647
640
648
# You can replace this text with custom code or comments, and it will be preserved on regeneration
641
# You can replace this text with custom code or comments, and it will be preserved on regeneration
649
- 

Return to bug 14570