From f1671721d7a27456360199e796c224520959d6df Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Wed, 20 Oct 2021 10:56:13 +1300 Subject: [PATCH] Bug 24718: Updated schema files --- Koha/Schema/Result/Reserve.pm | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/Koha/Schema/Result/Reserve.pm b/Koha/Schema/Result/Reserve.pm index 8ddda1437c..da062164e2 100644 --- a/Koha/Schema/Result/Reserve.pm +++ b/Koha/Schema/Result/Reserve.pm @@ -42,12 +42,10 @@ foreign key from the borrowers table defining which patron this hold is for =head2 reservedate - data_type: 'date' + data_type: 'datetime' datetime_undef_if_invalid: 1 is_nullable: 1 -the date the hold was placed - =head2 biblionumber data_type: 'integer' @@ -156,12 +154,10 @@ the date the item was marked as waiting for the patron at the library =head2 expirationdate - data_type: 'date' + data_type: 'datetime' datetime_undef_if_invalid: 1 is_nullable: 1 -the date the hold expires (usually the date entered by the patron to say they don't need the hold after a certain date) - =head2 lowestPriority accessor: 'lowest_priority' @@ -219,7 +215,11 @@ __PACKAGE__->add_columns( is_nullable => 0, }, "reservedate", - { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, + { + data_type => "datetime", + datetime_undef_if_invalid => 1, + is_nullable => 1, + }, "biblionumber", { data_type => "integer", @@ -257,7 +257,11 @@ __PACKAGE__->add_columns( "waitingdate", { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "expirationdate", - { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, + { + data_type => "datetime", + datetime_undef_if_invalid => 1, + is_nullable => 1, + }, "lowestPriority", { accessor => "lowest_priority", @@ -421,8 +425,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BlMb2M0MEmFuTiMSSBEseg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-10-20 10:51:24 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:80eK6pueXJbEHY95USny1g __PACKAGE__->belongs_to( "item", -- 2.11.0