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 needs_password_reset |
651 |
|
652 |
data_type: 'tinyint' |
653 |
default_value: 0 |
654 |
is_nullable: 0 |
655 |
|
656 |
tracks if a patron needs to reset their password after account creation |
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 |
"needs_password_reset", |
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-07-17 23:22:44 |
2107 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f6omVb7EtiysdaWTX3IRzg |
2117 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iUiJVr2tu8DvzM2zmKEeSA |
2108 |
|
2118 |
|
2109 |
__PACKAGE__->has_many( |
2119 |
__PACKAGE__->has_many( |
2110 |
"restrictions", |
2120 |
"restrictions", |
Lines 2121-2131
__PACKAGE__->has_many(
Link Here
|
2121 |
); |
2131 |
); |
2122 |
|
2132 |
|
2123 |
__PACKAGE__->add_columns( |
2133 |
__PACKAGE__->add_columns( |
2124 |
'+anonymized' => { is_boolean => 1 }, |
2134 |
'+anonymized' => { is_boolean => 1 }, |
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 |
'+needs_password_reset' => { is_boolean => 1 } |
2129 |
); |
2140 |
); |
2130 |
|
2141 |
|
2131 |
sub koha_objects_class { |
2142 |
sub koha_objects_class { |