From fc4434d5fd43ae1bca67e4aa92241ce28fb11352 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 28 Feb 2020 19:16:52 +0000 Subject: [PATCH] Bug 24476: Add boolean for TINYINT Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- Koha/Schema/Result/Borrower.pm | 3 ++- Koha/Schema/Result/Deletedborrower.pm | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 04ad9e17d4..0d2829dcbd 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -1665,7 +1665,8 @@ __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, '+lost' => { 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 { diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 7c076cf4a6..0b22a83beb 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -661,6 +661,14 @@ __PACKAGE__->add_columns( # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 11:45:25 # 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 { 'Koha::Old::Patrons'; } -- 2.39.5