From ffecb96313dc27ce25f21b719cde0166fdf10f21 Mon Sep 17 00:00:00 2001
From: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Date: Tue, 10 Dec 2024 14:44:13 +0000
Subject: [PATCH] Bug 38663: [DONT PUSH] Preparation: Change record_id to
 varchar: DBIC

---
 Koha/Schema/Result/AdditionalFieldValue.pm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/Koha/Schema/Result/AdditionalFieldValue.pm b/Koha/Schema/Result/AdditionalFieldValue.pm
index 36703647a9e..4372f539d58 100644
--- a/Koha/Schema/Result/AdditionalFieldValue.pm
+++ b/Koha/Schema/Result/AdditionalFieldValue.pm
@@ -41,8 +41,9 @@ foreign key references additional_fields(id)
 
 =head2 record_id
 
-  data_type: 'integer'
+  data_type: 'varchar'
   is_nullable: 0
+  size: 11
 
 record_id
 
@@ -63,7 +64,7 @@ __PACKAGE__->add_columns(
   "field_id",
   { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
   "record_id",
-  { data_type => "integer", is_nullable => 0 },
+  { data_type => "varchar", is_nullable => 0, size => 11 },
   "value",
   { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
 );
@@ -98,8 +99,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-08-23 15:47:56
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0XP6wuopWZEao4nJd4PF5g
+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-12-10 14:31:11
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f/qqdCg8B+p8vgyF791lkQ
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
-- 
2.39.5