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 2118-2125 Composing rels: L</user_permissions> -> permission Link Here
2118
__PACKAGE__->many_to_many("permissions", "user_permissions", "permission");
2128
__PACKAGE__->many_to_many("permissions", "user_permissions", "permission");
2119
2129
2120
2130
2121
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-10-10 14:16:46
2131
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-08-17 07:41:17
2122
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nIMnqyBVBam7NvIx4aDfHw
2132
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Irtx4l6jIg0O5Y9oiXImdw
2123
2133
2124
__PACKAGE__->has_many(
2134
__PACKAGE__->has_many(
2125
  "restrictions",
2135
  "restrictions",
Lines 2140-2146 __PACKAGE__->add_columns( Link Here
2140
    '+lost'          => { is_boolean => 1 },
2150
    '+lost'          => { is_boolean => 1 },
2141
    '+gonenoaddress' => { is_boolean => 1 },
2151
    '+gonenoaddress' => { is_boolean => 1 },
2142
    '+privacy_guarantor_fines' => { is_boolean => 1 },
2152
    '+privacy_guarantor_fines' => { is_boolean => 1 },
2143
    '+autorenew_checkouts' => { is_boolean => 1 }
2153
    '+autorenew_checkouts' => { is_boolean => 1 },
2154
    '+protected'           => { is_boolean => 1 },
2144
);
2155
);
2145
2156
2146
sub koha_objects_class {
2157
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