From f7a7654a37ab0a9929c64a922083439ec2f6accf Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Mon, 20 Apr 2020 23:13:45 +0000 Subject: [PATCH] Bug 24718: (follow-up) Updated schema file For sandboxes --- Koha/Schema/Result/Reserve.pm | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/Koha/Schema/Result/Reserve.pm b/Koha/Schema/Result/Reserve.pm index c5460e34da5..c7a27d81d92 100644 --- a/Koha/Schema/Result/Reserve.pm +++ b/Koha/Schema/Result/Reserve.pm @@ -38,7 +38,7 @@ __PACKAGE__->table("reserves"); =head2 reservedate - data_type: 'date' + data_type: 'datetime' datetime_undef_if_invalid: 1 is_nullable: 1 @@ -112,7 +112,7 @@ __PACKAGE__->table("reserves"); =head2 expirationdate - data_type: 'date' + data_type: 'datetime' datetime_undef_if_invalid: 1 is_nullable: 1 @@ -161,7 +161,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", @@ -195,7 +199,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", @@ -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-04-20 22:26:18 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:G53X+P6A27lU+I239YfXyw __PACKAGE__->belongs_to( "item", -- 2.11.0