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 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 @ 2019-05-17 12:11:31
614
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qQ0BWngri+79YvK9S8zZPg
607
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qd9LYnyNBYcs9sqdob6u9Q
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 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