From 352bc794d4bda2d39bdc0c9718f9cf3b31c5b070 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 25 Aug 2020 15:09:57 +0200 Subject: [PATCH] Bug 25534: DBIC schema changes Signed-off-by: Jonathan Druart --- Koha/Schema/Result/OldReserve.pm | 12 ++++++++++-- Koha/Schema/Result/Reserve.pm | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/OldReserve.pm b/Koha/Schema/Result/OldReserve.pm index 3df98cc4e5..5843c090c3 100644 --- a/Koha/Schema/Result/OldReserve.pm +++ b/Koha/Schema/Result/OldReserve.pm @@ -70,6 +70,12 @@ __PACKAGE__->table("old_reserves"); datetime_undef_if_invalid: 1 is_nullable: 1 +=head2 cancellation_reason + + data_type: 'varchar' + is_nullable: 1 + size: 80 + =head2 reservenotes data_type: 'longtext' @@ -163,6 +169,8 @@ __PACKAGE__->add_columns( { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "cancellationdate", { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, + "cancellation_reason", + { data_type => "varchar", is_nullable => 1, size => 80 }, "reservenotes", { data_type => "longtext", is_nullable => 1 }, "priority", @@ -298,8 +306,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4vMUC/1kSr3vgQ7n0Pmuug +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-08-25 13:08:15 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PtDLEieaxS+76FD0H943Zg __PACKAGE__->add_columns( '+item_level_hold' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/Reserve.pm b/Koha/Schema/Result/Reserve.pm index c5460e34da..c56d6e15c2 100644 --- a/Koha/Schema/Result/Reserve.pm +++ b/Koha/Schema/Result/Reserve.pm @@ -74,6 +74,12 @@ __PACKAGE__->table("reserves"); datetime_undef_if_invalid: 1 is_nullable: 1 +=head2 cancellation_reason + + data_type: 'varchar' + is_nullable: 1 + size: 80 + =head2 reservenotes data_type: 'longtext' @@ -177,6 +183,8 @@ __PACKAGE__->add_columns( { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "cancellationdate", { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, + "cancellation_reason", + { data_type => "varchar", is_nullable => 1, size => 80 }, "reservenotes", { data_type => "longtext", is_nullable => 1 }, "priority", @@ -337,8 +345,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VH7h5kYo9WhlGobXb3N3Jg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-08-25 13:08:15 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qdEIwB+DOrraRb+zd4F6yQ __PACKAGE__->belongs_to( "item", -- 2.39.5