From 8d9cfcefd465949b4bcd9c7bc35681a83a02a8c0 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 10 Jan 2023 14:49:50 +0000 Subject: [PATCH] Bug 32450: DBIC Schema Content-Type: text/plain; charset=utf-8 Signed-off-by: Marcel de Rooy --- Koha/Schema/Result/AccountDebitType.pm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/AccountDebitType.pm b/Koha/Schema/Result/AccountDebitType.pm index 74c6da8a80..abdc3b6859 100644 --- a/Koha/Schema/Result/AccountDebitType.pm +++ b/Koha/Schema/Result/AccountDebitType.pm @@ -71,6 +71,14 @@ boolean flag to denote if this debit type is available at point of sale boolean flag to denote if this till is archived or not +=head2 restricts_checkouts + + data_type: 'tinyint' + default_value: 1 + is_nullable: 0 + +boolean flag to denote if the noissuescharge syspref for this debit type is active + =cut __PACKAGE__->add_columns( @@ -88,6 +96,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "archived", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "restricts_checkouts", + { data_type => "tinyint", default_value => 1, is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -135,8 +145,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ulpJRbi7H40EXr1QG+URKg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-01-10 14:49:18 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9+mMPMSWcc/PwryYNQ2Jqg __PACKAGE__->add_columns( '+is_system' => { is_boolean => 1 } -- 2.30.2