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 1446-1453 Composing rels: L</aqorder_users> -> ordernumber Link Here
1446
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1469
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1447
1470
1448
1471
1449
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-02-15 13:15:09
1472
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-02-20 19:44:34
1450
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NhuG8jv9ut+qIIm3vGHsrQ
1473
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ML9SBaNZMZjw7lodiAIQ+w
1451
1474
1452
__PACKAGE__->add_columns(
1475
__PACKAGE__->add_columns(
1453
    '+lost' => { is_boolean => 1 },
1476
    '+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 @ 2019-02-20 19:44:34
614
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qQ0BWngri+79YvK9S8zZPg
607
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yw4nYeRtaRmTacYGvUifBQ
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 (-9 / +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 @ 2019-02-20 19:44:35
645
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DNkNHNcv0lkMH6/seu89hg
638
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mxE0c6aYVhMNCSD6+4NsEQ
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
(-)a/Koha/Schema/Result/SocialData.pm (-4 / +4 lines)
Lines 26-31 __PACKAGE__->table("social_data"); Link Here
26
=head2 isbn
26
=head2 isbn
27
27
28
  data_type: 'varchar'
28
  data_type: 'varchar'
29
  default_value: (empty string)
29
  is_nullable: 0
30
  is_nullable: 0
30
  size: 30
31
  size: 30
31
32
Lines 64-70 __PACKAGE__->table("social_data"); Link Here
64
65
65
__PACKAGE__->add_columns(
66
__PACKAGE__->add_columns(
66
  "isbn",
67
  "isbn",
67
  { data_type => "varchar", is_nullable => 0, size => 30 },
68
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 30 },
68
  "num_critics",
69
  "num_critics",
69
  { data_type => "integer", is_nullable => 1 },
70
  { data_type => "integer", is_nullable => 1 },
70
  "num_critics_pro",
71
  "num_critics_pro",
Lines 92-99 __PACKAGE__->add_columns( Link Here
92
__PACKAGE__->set_primary_key("isbn");
93
__PACKAGE__->set_primary_key("isbn");
93
94
94
95
95
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-11-13 15:24:28
96
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-02-20 19:44:36
96
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:l44tYFEfIKX0xXzj6AHInQ
97
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:m8Ll5M7IDQpAB2kZnRh10w
97
98
98
99
99
# You can replace this text with custom content, and it will be preserved on regeneration
100
# You can replace this text with custom content, and it will be preserved on regeneration
100
- 

Return to bug 14570