From 8a8d5ce5824b7039444d357b614c76969f909868 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 11 Mar 2022 15:22:01 +0000 Subject: [PATCH] Bug 30275: renewals_count DBIC Update Signed-off-by: Owen Leonard Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Issue.pm | 8 ++++---- Koha/Schema/Result/OldIssue.pm | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Koha/Schema/Result/Issue.pm b/Koha/Schema/Result/Issue.pm index 5d26b5b563..0ab760fad4 100644 --- a/Koha/Schema/Result/Issue.pm +++ b/Koha/Schema/Result/Issue.pm @@ -87,7 +87,7 @@ date the item was returned, will be NULL until moved to old_issues date the item was last renewed -=head2 renewals +=head2 renewals_count data_type: 'tinyint' default_value: 0 @@ -197,7 +197,7 @@ __PACKAGE__->add_columns( datetime_undef_if_invalid => 1, is_nullable => 1, }, - "renewals", + "renewals_count", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "unseen_renewals", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, @@ -321,8 +321,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-11-17 10:01:24 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kDcP8DNMT8sLUmzBFfz3fg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-03-11 15:10:14 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TERiBbm+B4jMEuNM2dVbfQ __PACKAGE__->add_columns( '+auto_renew' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/OldIssue.pm b/Koha/Schema/Result/OldIssue.pm index d119555564..c01e207d55 100644 --- a/Koha/Schema/Result/OldIssue.pm +++ b/Koha/Schema/Result/OldIssue.pm @@ -86,7 +86,7 @@ date the item was returned date the item was last renewed -=head2 renewals +=head2 renewals_count data_type: 'tinyint' default_value: 0 @@ -196,7 +196,7 @@ __PACKAGE__->add_columns( datetime_undef_if_invalid => 1, is_nullable => 1, }, - "renewals", + "renewals_count", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "unseen_renewals", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, @@ -306,8 +306,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:BWwXBAuls9a0HhscR0WlGQ +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-03-18 12:35:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0XlDHyg8uB3oD9/jJtOxRg __PACKAGE__->add_columns( '+auto_renew' => { is_boolean => 1 }, -- 2.39.5