From 2c48bae1a7a891c99c9b15788f040bde1574932b 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 --- 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 b0a7ad728b..65efdf641e 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -1650,7 +1650,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 7313ac3aac..730cc0b44a 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-02-28 19:07:50 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GajsOHHe926t+9ukiJIXdw +__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.11.0