From 2218b4469b0a72cf95893b71d7550641205b0d01 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 6 May 2022 08:21:35 +0100 Subject: [PATCH] Bug 23681: (follow-up) Mark fields at booleans Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/DebarmentType.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Koha/Schema/Result/DebarmentType.pm b/Koha/Schema/Result/DebarmentType.pm index 0f83c3c92b..9c15cdc051 100644 --- a/Koha/Schema/Result/DebarmentType.pm +++ b/Koha/Schema/Result/DebarmentType.pm @@ -92,6 +92,11 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-05-04 11:05:19 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cRSViJItfpT3mxCX82/9eQ +__PACKAGE__->add_columns( + '+is_system' => { is_boolean => 1 }, + '+is_default' => { is_boolean => 1 } +); + sub koha_object_class { 'Koha::RestrictionType'; } -- 2.39.5