Bug 24476: Add boolean for TINYINT

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Nick Clemens 2020-02-28 19:16:52 +00:00 committed by Martin Renvoize
parent 9933cc7b59
commit fc4434d5fd
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F
2 changed files with 10 additions and 1 deletions

View file

@ -1665,7 +1665,8 @@ __PACKAGE__->add_columns(
'+anonymized' => { is_boolean => 1 }, '+anonymized' => { is_boolean => 1 },
'+lost' => { is_boolean => 1 }, '+lost' => { is_boolean => 1 },
'+gonenoaddress' => { is_boolean => 1 }, '+gonenoaddress' => { is_boolean => 1 },
'+privacy_guarantor_fines' => { is_boolean => 1 } '+privacy_guarantor_fines' => { is_boolean => 1 },
'+autorenew_checkouts' => { is_boolean => 1 }
); );
sub koha_objects_class { sub koha_objects_class {

View file

@ -661,6 +661,14 @@ __PACKAGE__->add_columns(
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 11:45:25 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 11:45:25
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fVl4c/8pymGaZBDR3EOrNg # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fVl4c/8pymGaZBDR3EOrNg
__PACKAGE__->add_columns(
'+anonymized' => { is_boolean => 1 },
'+lost' => { is_boolean => 1 },
'+gonenoaddress' => { is_boolean => 1 },
'+privacy_guarantor_fines' => { is_boolean => 1 },
'+autorenew_checkouts' => { is_boolean => 1 }
);
sub koha_objects_class { sub koha_objects_class {
'Koha::Old::Patrons'; 'Koha::Old::Patrons';
} }