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 |
- |
|
|