From 6b0ffe26059dd1387d04e9cbddcb907981793fdb 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 43fe43df99..27cc1e2e5e 100644 --- a/Koha/Schema/Result/Category.pm +++ b/Koha/Schema/Result/Category.pm @@ -305,4 +305,8 @@ sub koha_objects_class { 'Koha::Patron::Categories'; } +__PACKAGE__->add_columns( + '+require_strong_password' => { is_boolean => 1 } +); + 1; -- 2.25.0