From 899dd13354b61ed073931894fb45a519866454a3 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Tue, 10 Jan 2023 16:32:40 +0000 Subject: [PATCH] Bug 32450: Add boolean to DBIC schema Adding boolean flag to DBIC schema. Test plan as per previous commits --- Koha/Schema/Result/AccountDebitType.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Koha/Schema/Result/AccountDebitType.pm b/Koha/Schema/Result/AccountDebitType.pm index abdc3b6859c..7b00d5883dd 100644 --- a/Koha/Schema/Result/AccountDebitType.pm +++ b/Koha/Schema/Result/AccountDebitType.pm @@ -160,6 +160,10 @@ __PACKAGE__->add_columns( "+can_be_invoiced" => { is_boolean => 1 } ); +__PACKAGE__->add_columns( + "+restricts_checkouts" => { is_boolean => 1 } +); + sub koha_objects_class { 'Koha::Account::DebitTypes'; } -- 2.37.1 (Apple Git-137.1)