From 42d4e5169428e67483a4e5fcb0b7f7535d2ad1e9 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 15 May 2023 22:44:16 +0000 Subject: [PATCH] Bug 33262: DBIC schema Signed-off-by: Lucas Gass --- Koha/Schema/Result/Aqorder.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Aqorder.pm b/Koha/Schema/Result/Aqorder.pm index 58cbdd1897..5943f15a8a 100644 --- a/Koha/Schema/Result/Aqorder.pm +++ b/Koha/Schema/Result/Aqorder.pm @@ -39,6 +39,13 @@ primary key and unique identifier assigned by Koha to each line links the order to the biblio being ordered (biblio.biblionumber) +=head2 deleted_biblionumber + + data_type: 'integer' + is_nullable: 1 + +links the order to the deleted bibliographic record (deletedbiblio.biblionumber) + =head2 entrydate data_type: 'date' @@ -413,6 +420,8 @@ __PACKAGE__->add_columns( { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, "biblionumber", { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, + "deleted_biblionumber", + { data_type => "integer", is_nullable => 1 }, "entrydate", { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "quantity", @@ -754,8 +763,8 @@ Composing rels: L -> borrowernumber __PACKAGE__->many_to_many("borrowernumbers", "aqorder_users", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c1YBLkG64bdFakf4/cGjXA +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-05-15 22:43:28 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OOVOXFFC2BhZLIte6weWHA __PACKAGE__->belongs_to( "basket", -- 2.39.5