From fb28f35021247fbfdee428253ee2a557cac90d23 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 11 Nov 2020 15:34:51 +0100 Subject: [PATCH] Bug 24083: DBIC schema changes Signed-off-by: Jonathan Druart --- Koha/Schema/Result/Issue.pm | 12 ++++++++++-- Koha/Schema/Result/OldIssue.pm | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/Issue.pm b/Koha/Schema/Result/Issue.pm index 0c960144ae..24f69275d7 100644 --- a/Koha/Schema/Result/Issue.pm +++ b/Koha/Schema/Result/Issue.pm @@ -77,6 +77,12 @@ __PACKAGE__->table("issues"); default_value: 0 is_nullable: 0 +=head2 unseen_renewals + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =head2 auto_renew data_type: 'tinyint' @@ -157,6 +163,8 @@ __PACKAGE__->add_columns( }, "renewals", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "unseen_renewals", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "auto_renew", { data_type => "tinyint", default_value => 0, is_nullable => 1 }, "auto_renew_error", @@ -292,8 +300,8 @@ __PACKAGE__->might_have( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-09 19:12:26 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Z0qpsT632VLwejUFjIO/ag +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-11 14:23:25 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SbeR9Pgvk2sMd+dYPAiCeA __PACKAGE__->add_columns( '+auto_renew' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/OldIssue.pm b/Koha/Schema/Result/OldIssue.pm index c0271b3529..f39389a49a 100644 --- a/Koha/Schema/Result/OldIssue.pm +++ b/Koha/Schema/Result/OldIssue.pm @@ -76,6 +76,12 @@ __PACKAGE__->table("old_issues"); default_value: 0 is_nullable: 0 +=head2 unseen_renewals + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =head2 auto_renew data_type: 'tinyint' @@ -156,6 +162,8 @@ __PACKAGE__->add_columns( }, "renewals", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "unseen_renewals", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "auto_renew", { data_type => "tinyint", default_value => 0, is_nullable => 1 }, "auto_renew_error", @@ -262,8 +270,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-09 19:12:26 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jlgsHwZKoVn/HJD1NP1gqg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-11 14:23:25 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TvYB0Fiet6DBvDkRf/BRAg __PACKAGE__->add_columns( '+auto_renew' => { is_boolean => 1 }, -- 2.39.5