From da4e9b29c5a3a6384c31c1d413f09e180b861768 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 --- 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.20.1