From 91a63a9d6e4a75e29c35ab4ce5d9a2ac0710c547 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 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm index 46aa24926d..f27a0f3614 100644 --- a/Koha/Schema/Result/Itemtype.pm +++ b/Koha/Schema/Result/Itemtype.pm @@ -184,6 +184,15 @@ If automatic checkin is enabled for items of this type 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'. + =cut __PACKAGE__->add_columns( @@ -232,6 +241,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