From 78a449daa924ccef24f04fe0cdac09fca28d9428 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 11 Oct 2024 12:07:43 +0000 Subject: [PATCH] Bug 30648: DO NOT PUSH - Schema update --- Koha/Schema/Result/OldReserve.pm | 13 +++++++++++-- Koha/Schema/Result/Reserve.pm | 13 +++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/OldReserve.pm b/Koha/Schema/Result/OldReserve.pm index cbe46e7881e..1a9012aae8a 100644 --- a/Koha/Schema/Result/OldReserve.pm +++ b/Koha/Schema/Result/OldReserve.pm @@ -54,6 +54,13 @@ the date the hold was places foreign key from the biblio table defining which bib record this hold is on +=head2 deleted_biblionumber + + data_type: 'integer' + is_nullable: 1 + +links the reserve to the deleted bibliographic record (deletedbiblio.biblionumber) + =head2 item_group_id data_type: 'integer' @@ -235,6 +242,8 @@ __PACKAGE__->add_columns( { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "biblionumber", { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, + "deleted_biblionumber", + { data_type => "integer", is_nullable => 1 }, "item_group_id", { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, "branchcode", @@ -428,8 +437,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-04-05 06:44:57 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SQp2OEYb3im1x3A+W0h37w +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-11 12:06:02 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:w+/oG5TkE0jma5KH1OzJbw __PACKAGE__->belongs_to( "item", diff --git a/Koha/Schema/Result/Reserve.pm b/Koha/Schema/Result/Reserve.pm index a91c14c9a08..bafd9b3ea7f 100644 --- a/Koha/Schema/Result/Reserve.pm +++ b/Koha/Schema/Result/Reserve.pm @@ -57,6 +57,13 @@ the date the hold was placed foreign key from the biblio table defining which bib record this hold is on +=head2 deleted_biblionumber + + data_type: 'integer' + is_nullable: 1 + +links the reserve to the deleted bibliographic record (deletedbiblio.biblionumber) + =head2 item_group_id data_type: 'integer' @@ -243,6 +250,8 @@ __PACKAGE__->add_columns( is_foreign_key => 1, is_nullable => 0, }, + "deleted_biblionumber", + { data_type => "integer", is_nullable => 1 }, "item_group_id", { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, "branchcode", @@ -456,8 +465,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-01 18:21:38 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6BAjuPSwjtyWJaJN9fcOtg +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-11 12:06:02 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:929EvBqGXvPVEmvsNMUGSQ __PACKAGE__->belongs_to( "item", -- 2.39.5