From 5425131354ef9f1109794117f82d816f2cb30827 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 22880fdb43..753217d493 100644 --- a/Koha/Schema/Result/Itemtype.pm +++ b/Koha/Schema/Result/Itemtype.pm @@ -176,6 +176,15 @@ Group this item type with others with the same value on OPAC search options If automatic checkin is enabled for items of this 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( @@ -222,6 +231,13 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 80 }, "automatic_checkin", { 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.34.1