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 branchcode
886
=head2 branchcode
864
887
865
Type: belongs_to
888
Type: belongs_to
Lines 1431-1438 Composing rels: L</aqorder_users> -> ordernumber Link Here
1431
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1454
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1432
1455
1433
1456
1434
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-27 13:16:48
1457
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-11-05 12:42:21
1435
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c3Tb59Kku0Hh+tsVV5eCDg
1458
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Vpio4rvmhG1//ajkrXpTrw
1436
1459
1437
__PACKAGE__->add_columns(
1460
__PACKAGE__->add_columns(
1438
    '+lost' => { is_boolean => 1 },
1461
    '+lost' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/BorrowerModification.pm (-9 / +2 lines)
Lines 285-295 __PACKAGE__->table("borrower_modifications"); Link Here
285
  data_type: 'mediumtext'
285
  data_type: 'mediumtext'
286
  is_nullable: 1
286
  is_nullable: 1
287
287
288
=head2 guarantorid
289
290
  data_type: 'integer'
291
  is_nullable: 1
292
293
=head2 borrowernotes
288
=head2 borrowernotes
294
289
295
  data_type: 'longtext'
290
  data_type: 'longtext'
Lines 541-548 __PACKAGE__->add_columns( Link Here
541
  { data_type => "mediumtext", is_nullable => 1 },
536
  { data_type => "mediumtext", is_nullable => 1 },
542
  "contacttitle",
537
  "contacttitle",
543
  { data_type => "mediumtext", is_nullable => 1 },
538
  { data_type => "mediumtext", is_nullable => 1 },
544
  "guarantorid",
545
  { data_type => "integer", is_nullable => 1 },
546
  "borrowernotes",
539
  "borrowernotes",
547
  { data_type => "longtext", is_nullable => 1 },
540
  { data_type => "longtext", is_nullable => 1 },
548
  "relationship",
541
  "relationship",
Lines 610-617 __PACKAGE__->add_columns( Link Here
610
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
603
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
611
604
612
605
613
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-20 13:00:20
606
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-11-05 12:48:11
614
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qQ0BWngri+79YvK9S8zZPg
607
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UaEMhFgIsUNFlcYMbO5LtA
615
608
616
609
617
# You can replace this text with custom content, and it will be preserved on regeneration
610
# 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-11-05 12:42:22
645
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DNkNHNcv0lkMH6/seu89hg
638
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dVwucanpg04jMwy6ph4QFw
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