From 0a64a90cec2e9cafea1486c2de80764ec9d9b8ab Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 18 May 2020 13:38:52 -0400 Subject: [PATCH] Bug 25534: Update Schema Files [DO NOT PUSH] Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Rebecca Coert --- 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..ee6084b28c 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.07046 @ 2020-05-18 17:27:37 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kC6pAbaLsjgC2NI1/3TYTA __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..132799b588 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.07046 @ 2020-05-18 17:01:55 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:61tfpJklYVLy+Krmh9+UdA __PACKAGE__->belongs_to( "item", -- 2.24.1 (Apple Git-126)