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

(-)a/Koha/Schema/Result/Borrower.pm (-3 / +14 lines)
Lines 647-652 flag for allowing auto-renewal Link Here
647
647
648
useful for reporting purposes
648
useful for reporting purposes
649
649
650
=head2 protected
651
652
  data_type: 'tinyint'
653
  default_value: 0
654
  is_nullable: 0
655
656
boolean flag to mark selected patrons as protected from deletion
657
650
=cut
658
=cut
651
659
652
__PACKAGE__->add_columns(
660
__PACKAGE__->add_columns(
Lines 850-855 __PACKAGE__->add_columns( Link Here
850
  { data_type => "tinyint", default_value => 1, is_nullable => 0 },
858
  { data_type => "tinyint", default_value => 1, is_nullable => 0 },
851
  "primary_contact_method",
859
  "primary_contact_method",
852
  { data_type => "varchar", is_nullable => 1, size => 45 },
860
  { data_type => "varchar", is_nullable => 1, size => 45 },
861
  "protected",
862
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
853
);
863
);
854
864
855
=head1 PRIMARY KEY
865
=head1 PRIMARY KEY
Lines 2103-2110 Composing rels: L</user_permissions> -> permission Link Here
2103
__PACKAGE__->many_to_many("permissions", "user_permissions", "permission");
2113
__PACKAGE__->many_to_many("permissions", "user_permissions", "permission");
2104
2114
2105
2115
2106
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-06 15:46:57
2116
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-08-17 07:41:17
2107
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f6omVb7EtiysdaWTX3IRzg
2117
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Irtx4l6jIg0O5Y9oiXImdw
2108
2118
2109
__PACKAGE__->has_many(
2119
__PACKAGE__->has_many(
2110
  "restrictions",
2120
  "restrictions",
Lines 2125-2131 __PACKAGE__->add_columns( Link Here
2125
    '+lost'          => { is_boolean => 1 },
2135
    '+lost'          => { is_boolean => 1 },
2126
    '+gonenoaddress' => { is_boolean => 1 },
2136
    '+gonenoaddress' => { is_boolean => 1 },
2127
    '+privacy_guarantor_fines' => { is_boolean => 1 },
2137
    '+privacy_guarantor_fines' => { is_boolean => 1 },
2128
    '+autorenew_checkouts' => { is_boolean => 1 }
2138
    '+autorenew_checkouts' => { is_boolean => 1 },
2139
    '+protected'           => { is_boolean => 1 },
2129
);
2140
);
2130
2141
2131
sub koha_objects_class {
2142
sub koha_objects_class {
(-)a/Koha/Schema/Result/Deletedborrower.pm (-4 / +14 lines)
Lines 644-649 flag for allowing auto-renewal Link Here
644
644
645
useful for reporting purposes
645
useful for reporting purposes
646
646
647
=head2 protected
648
649
  data_type: 'tinyint'
650
  default_value: 0
651
  is_nullable: 0
652
653
boolean flag to mark selected patrons as protected from deletion
654
647
=cut
655
=cut
648
656
649
__PACKAGE__->add_columns(
657
__PACKAGE__->add_columns(
Lines 835-852 __PACKAGE__->add_columns( Link Here
835
  { data_type => "tinyint", default_value => 1, is_nullable => 0 },
843
  { data_type => "tinyint", default_value => 1, is_nullable => 0 },
836
  "primary_contact_method",
844
  "primary_contact_method",
837
  { data_type => "varchar", is_nullable => 1, size => 45 },
845
  { data_type => "varchar", is_nullable => 1, size => 45 },
846
  "protected",
847
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
838
);
848
);
839
849
840
850
841
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-06 15:46:58
851
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-08-17 10:21:11
842
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dqGu9iDgO+u09l9X1G0NuA
852
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IUSssxqhduL2Qur3nO7Nig
843
853
844
__PACKAGE__->add_columns(
854
__PACKAGE__->add_columns(
845
    '+anonymized'    => { is_boolean => 1 },
855
    '+anonymized'    => { is_boolean => 1 },
846
    '+lost'          => { is_boolean => 1 },
856
    '+lost'          => { is_boolean => 1 },
847
    '+gonenoaddress' => { is_boolean => 1 },
857
    '+gonenoaddress' => { is_boolean => 1 },
848
    '+privacy_guarantor_fines' => { is_boolean => 1 },
858
    '+privacy_guarantor_fines' => { is_boolean => 1 },
849
    '+autorenew_checkouts' => { is_boolean => 1 }
859
    '+autorenew_checkouts' => { is_boolean => 1 },
860
    '+protected'           => { is_boolean => 1 },
850
);
861
);
851
862
852
sub koha_objects_class {
863
sub koha_objects_class {
853
- 

Return to bug 26170