From 6c82fc1d5d52086c4b3c3babb9f3711fd7b08c8a Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 28 Oct 2024 18:52:03 +0000 Subject: [PATCH] Bug 30648: DBIC schema update Signed-off-by: Katrin Fischer --- 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 cbe46e7881..e3f3437c94 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-28 18:50:07 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WVT+As1+G9EJ2laDaGWE4A __PACKAGE__->belongs_to( "item", diff --git a/Koha/Schema/Result/Reserve.pm b/Koha/Schema/Result/Reserve.pm index a91c14c9a0..b941eddcee 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-28 18:50:07 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6sYYJBDau/Ol8U95p4psKQ __PACKAGE__->belongs_to( "item", -- 2.39.5