From f23a4cdda92ebb6dc7ef9721f50cc1dcbd5ca79e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 3 Feb 2020 14:50:28 +0100 Subject: [PATCH] Bug 22844: Add is_boolean flag for new 'mandatory' column Signed-off-by: Kyle M Hall Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- Koha/Schema/Result/BorrowerAttributeType.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Koha/Schema/Result/BorrowerAttributeType.pm b/Koha/Schema/Result/BorrowerAttributeType.pm index 70abaa3700..849e3315de 100644 --- a/Koha/Schema/Result/BorrowerAttributeType.pm +++ b/Koha/Schema/Result/BorrowerAttributeType.pm @@ -192,6 +192,10 @@ __PACKAGE__->add_columns( '+keep_for_pseudonymization' => { is_boolean => 1 }, ); +__PACKAGE__->add_columns( + '+mandatory' => { is_boolean => 1 }, +); + sub koha_object_class { 'Koha::Patron::Attribute::Type'; } -- 2.39.5