From 84004d0b3ef3af12915897dfe764fb325e5fe75d Mon Sep 17 00:00:00 2001 From: Agustin Moyano Date: Thu, 16 Apr 2020 17:59:17 -0300 Subject: [PATCH] Bug 23816: (follow-up) Define boolean column in shcema Sponsored-by: Northeast Kansas Library - NEKLS Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- Koha/Schema/Result/Category.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm index 6807a20e0c..363329d265 100644 --- a/Koha/Schema/Result/Category.pm +++ b/Koha/Schema/Result/Category.pm @@ -316,4 +316,8 @@ sub koha_objects_class { 'Koha::Patron::Categories'; } +__PACKAGE__->add_columns( + '+require_strong_password' => { is_boolean => 1 } +); + 1; -- 2.39.5