From 5c665cfb247539262cfc8544a964203fb2ee5211 Mon Sep 17 00:00:00 2001
From: Tomas Cohen Arazi <tomascohen@theke.io>
Date: Thu, 23 Jun 2022 15:44:44 -0300
Subject: [PATCH] Bug 24239: DBIC update

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
---
 Koha/Schema/Result/Illrequest.pm | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/Koha/Schema/Result/Illrequest.pm b/Koha/Schema/Result/Illrequest.pm
index 16e7d9e6ed..adc931336a 100644
--- a/Koha/Schema/Result/Illrequest.pm
+++ b/Koha/Schema/Result/Illrequest.pm
@@ -47,6 +47,14 @@ Patron associated with request
 
 Potential bib linked to request
 
+=head2 due_date
+
+  data_type: 'datetime'
+  datetime_undef_if_invalid: 1
+  is_nullable: 1
+
+Custom date due specified by backend, leave NULL for default date_due calculation
+
 =head2 branchcode
 
   data_type: 'varchar'
@@ -180,6 +188,12 @@ __PACKAGE__->add_columns(
   { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
   "biblio_id",
   { data_type => "integer", is_nullable => 1 },
+  "due_date",
+  {
+    data_type => "datetime",
+    datetime_undef_if_invalid => 1,
+    is_nullable => 1,
+  },
   "branchcode",
   { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 50 },
   "status",
@@ -317,8 +331,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ek47WcMZpSBpxUajJuEN+Q
+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-23 18:44:13
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:on9OCRON/U0uR+m9aPIKPg
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
-- 
2.34.1