From 42b56cb867e145acb8d9ab3fb50d71d377e23a0b 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 --- 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 b76c443855..a8c23660d2 100644 --- a/Koha/Schema/Result/Category.pm +++ b/Koha/Schema/Result/Category.pm @@ -290,4 +290,8 @@ sub koha_objects_class { 'Koha::Patron::Categories'; } +__PACKAGE__->add_columns( + '+require_strong_password' => { is_boolean => 1 } +); + 1; -- 2.11.0