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 580-587 __PACKAGE__->add_columns( Link Here
580
  { data_type => "mediumtext", is_nullable => 1 },
575
  { data_type => "mediumtext", is_nullable => 1 },
581
  "contacttitle",
576
  "contacttitle",
582
  { data_type => "mediumtext", is_nullable => 1 },
577
  { data_type => "mediumtext", is_nullable => 1 },
583
  "guarantorid",
584
  { data_type => "integer", is_nullable => 1 },
585
  "borrowernotes",
578
  "borrowernotes",
586
  { data_type => "longtext", is_nullable => 1 },
579
  { data_type => "longtext", is_nullable => 1 },
587
  "relationship",
580
  "relationship",
Lines 883-888 __PACKAGE__->has_many( Link Here
883
  { cascade_copy => 0, cascade_delete => 0 },
876
  { cascade_copy => 0, cascade_delete => 0 },
884
);
877
);
885
878
879
=head2 borrower_relationships_guarantees
880
881
Type: has_many
882
883
Related object: L<Koha::Schema::Result::BorrowerRelationship>
884
885
=cut
886
887
__PACKAGE__->has_many(
888
  "borrower_relationships_guarantees",
889
  "Koha::Schema::Result::BorrowerRelationship",
890
  { "foreign.guarantee_id" => "self.borrowernumber" },
891
  { cascade_copy => 0, cascade_delete => 0 },
892
);
893
894
=head2 borrower_relationships_guarantors
895
896
Type: has_many
897
898
Related object: L<Koha::Schema::Result::BorrowerRelationship>
899
900
=cut
901
902
__PACKAGE__->has_many(
903
  "borrower_relationships_guarantors",
904
  "Koha::Schema::Result::BorrowerRelationship",
905
  { "foreign.guarantor_id" => "self.borrowernumber" },
906
  { cascade_copy => 0, cascade_delete => 0 },
907
);
908
886
=head2 branchcode
909
=head2 branchcode
887
910
888
Type: belongs_to
911
Type: belongs_to
Lines 1529-1536 Composing rels: L</aqorder_users> -> ordernumber Link Here
1529
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1552
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1530
1553
1531
1554
1532
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-25 10:08:38
1555
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-05-17 12:11:31
1533
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3qd/l8OkObSn8gTKTsHrkA
1556
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rb0wEXHaSvYum10aZjbAOA
1534
1557
1535
__PACKAGE__->add_columns(
1558
__PACKAGE__->add_columns(
1536
    '+anonymized' => { is_boolean => 1 },
1559
    '+anonymized' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/BorrowerModification.pm (-9 / +2 lines)
Lines 290-300 __PACKAGE__->table("borrower_modifications"); Link Here
290
  data_type: 'mediumtext'
290
  data_type: 'mediumtext'
291
  is_nullable: 1
291
  is_nullable: 1
292
292
293
=head2 guarantorid
294
295
  data_type: 'integer'
296
  is_nullable: 1
297
298
=head2 borrowernotes
293
=head2 borrowernotes
299
294
300
  data_type: 'longtext'
295
  data_type: 'longtext'
Lines 548-555 __PACKAGE__->add_columns( Link Here
548
  { data_type => "mediumtext", is_nullable => 1 },
543
  { data_type => "mediumtext", is_nullable => 1 },
549
  "contacttitle",
544
  "contacttitle",
550
  { data_type => "mediumtext", is_nullable => 1 },
545
  { data_type => "mediumtext", is_nullable => 1 },
551
  "guarantorid",
552
  { data_type => "integer", is_nullable => 1 },
553
  "borrowernotes",
546
  "borrowernotes",
554
  { data_type => "longtext", is_nullable => 1 },
547
  { data_type => "longtext", is_nullable => 1 },
555
  "relationship",
548
  "relationship",
Lines 617-624 __PACKAGE__->add_columns( Link Here
617
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
610
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
618
611
619
612
620
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-07-19 09:06:10
613
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-07-22 16:54:42
621
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+nEG7YltIcgswwr2/5OSAw
614
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jkZUTN+mGIdp8ySV0BYNTw
622
615
623
sub koha_object_class {
616
sub koha_object_class {
624
    'Koha::Patron::Modification';
617
    'Koha::Patron::Modification';
(-)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 565-572 __PACKAGE__->add_columns( Link Here
565
  { data_type => "mediumtext", is_nullable => 1 },
560
  { data_type => "mediumtext", is_nullable => 1 },
566
  "contacttitle",
561
  "contacttitle",
567
  { data_type => "mediumtext", is_nullable => 1 },
562
  { data_type => "mediumtext", is_nullable => 1 },
568
  "guarantorid",
569
  { data_type => "integer", is_nullable => 1 },
570
  "borrowernotes",
563
  "borrowernotes",
571
  { data_type => "longtext", is_nullable => 1 },
564
  { data_type => "longtext", is_nullable => 1 },
572
  "relationship",
565
  "relationship",
Lines 649-656 __PACKAGE__->add_columns( Link Here
649
);
642
);
650
643
651
644
652
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-25 10:08:38
645
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-05-17 12:11:31
653
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hzKeGjtecf3VyEvaBhDmUg
646
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:STNFbPgDGWmyrZUFj/n+MA
654
647
655
648
656
# You can replace this text with custom code or comments, and it will be preserved on regeneration
649
# You can replace this text with custom code or comments, and it will be preserved on regeneration
657
- 

Return to bug 14570