From f435336184898da260c2f1a97a377d8f2ecc6279 Mon Sep 17 00:00:00 2001 From: Matthias Le Gac Date: Thu, 25 Apr 2024 15:44:33 -0400 Subject: [PATCH] Bug 20644: [DO NOT PUSH] DBIC Update --- Koha/Schema/Result/Itemtype.pm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm index 46aa24926d..ea4f9572cf 100644 --- a/Koha/Schema/Result/Itemtype.pm +++ b/Koha/Schema/Result/Itemtype.pm @@ -176,6 +176,7 @@ Group this item type with others with the same value on OPAC search options If automatic checkin is enabled for items of this type +<<<<<<< HEAD =head2 bookable data_type: 'tinyint' @@ -183,6 +184,16 @@ If automatic checkin is enabled for items of this type is_nullable: 0 Activate bookable feature for items related to this item type +======= +=head2 checkprevcheckout + + data_type: 'varchar' + default_value: 'inherit' + is_nullable: 0 + size: 7 + +Produce a warning for a patron if a item of this type has previously been checked out to the same patron if 'yes', not if 'no', defer to category setting if 'inherit'. +>>>>>>> Bug 20644: [DO NOT PUSH] DBIC Update =cut @@ -232,6 +243,13 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "bookable", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "checkprevcheckout", + { + data_type => "varchar", + default_value => "inherit", + is_nullable => 0, + size => 7, + }, ); =head1 PRIMARY KEY -- 2.43.0