From cce6bd24dcb6d9fc402549522da8c40f0afdbc67 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 d005da023f..691a5466bc 100644 --- a/Koha/Schema/Result/Itemtype.pm +++ b/Koha/Schema/Result/Itemtype.pm @@ -175,6 +175,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( @@ -221,6 +230,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