From 62ebafef08eb09cf645465e3e484b4caf30a5350 Mon Sep 17 00:00:00 2001
From: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Date: Mon, 3 Mar 2025 15:26:58 -0100
Subject: [PATCH] Bug 37901: [DONT PUSH] dbic

Signed-off-by: Jeremy Evans <Jeremy.Evans@ukhsa.gov.uk>
---
 Koha/Schema/Result/Statistic.pm | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/Koha/Schema/Result/Statistic.pm b/Koha/Schema/Result/Statistic.pm
index 87de3f1ec53..5638da9cc14 100644
--- a/Koha/Schema/Result/Statistic.pm
+++ b/Koha/Schema/Result/Statistic.pm
@@ -62,6 +62,13 @@ transaction type (localuse, issue, return, renew, writeoff, payment)
 
 used by SIP
 
+=head2 illrequest_id
+
+  data_type: 'integer'
+  is_nullable: 1
+
+foreign key from the illrequests table, links transaction to a specific illrequest
+
 =head2 itemnumber
 
   data_type: 'integer'
@@ -133,6 +140,8 @@ __PACKAGE__->add_columns(
   { data_type => "varchar", is_nullable => 1, size => 16 },
   "other",
   { data_type => "longtext", is_nullable => 1 },
+  "illrequest_id",
+  { data_type => "integer", is_nullable => 1 },
   "itemnumber",
   { data_type => "integer", is_nullable => 1 },
   "itemtype",
@@ -150,8 +159,8 @@ __PACKAGE__->add_columns(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-05-10 17:08:44
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3mznfs//6bH21hFpyZl7lw
+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-03-03 12:24:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ULsT1tRHMfQ06eZTvSykHA
 
 
 # You can replace this text with custom content, and it will be preserved on regeneration
-- 
2.39.5