From 0ce80f808e645069314abc4884ea3941eec133f8 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 19 Sep 2019 21:11:43 +0000 Subject: [PATCH] RMaint Follow up fixing mistake of not running DBIC after DBRev Signed-off-by: Lucas Gass --- Koha/Schema/Result/Issue.pm | 9 +++++---- Koha/Schema/Result/OldIssue.pm | 9 +++++---- Koha/Schema/Result/Subscriptionhistory.pm | 20 ++++++++------------ 3 files changed, 18 insertions(+), 20 deletions(-) diff --git a/Koha/Schema/Result/Issue.pm b/Koha/Schema/Result/Issue.pm index a7277446c3..82569f8fab 100644 --- a/Koha/Schema/Result/Issue.pm +++ b/Koha/Schema/Result/Issue.pm @@ -68,7 +68,8 @@ __PACKAGE__->table("issues"); =head2 renewals data_type: 'tinyint' - is_nullable: 1 + default_value: 0 + is_nullable: 0 =head2 auto_renew @@ -147,7 +148,7 @@ __PACKAGE__->add_columns( is_nullable => 1, }, "renewals", - { data_type => "tinyint", is_nullable => 1 }, + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "auto_renew", { data_type => "tinyint", default_value => 0, is_nullable => 1 }, "auto_renew_error", @@ -248,8 +249,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-23 13:51:40 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+mlcId4odhAFp3HHgV/+tg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-09-19 20:31:29 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ar0goZYDWdXFAGUvIljzEw __PACKAGE__->add_columns( '+auto_renew' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/OldIssue.pm b/Koha/Schema/Result/OldIssue.pm index df84a07e32..69416a6d3e 100644 --- a/Koha/Schema/Result/OldIssue.pm +++ b/Koha/Schema/Result/OldIssue.pm @@ -67,7 +67,8 @@ __PACKAGE__->table("old_issues"); =head2 renewals data_type: 'tinyint' - is_nullable: 1 + default_value: 0 + is_nullable: 0 =head2 auto_renew @@ -146,7 +147,7 @@ __PACKAGE__->add_columns( is_nullable => 1, }, "renewals", - { data_type => "tinyint", is_nullable => 1 }, + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "auto_renew", { data_type => "tinyint", default_value => 0, is_nullable => 1 }, "auto_renew_error", @@ -233,8 +234,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-23 13:51:40 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1f688Osvh/sxg2P/qffZ2g +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-09-19 20:31:29 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NjqzB7ICmk0Qdpzu1d390g __PACKAGE__->belongs_to( "borrower", diff --git a/Koha/Schema/Result/Subscriptionhistory.pm b/Koha/Schema/Result/Subscriptionhistory.pm index b15044a0df..2a8ebefa0f 100644 --- a/Koha/Schema/Result/Subscriptionhistory.pm +++ b/Koha/Schema/Result/Subscriptionhistory.pm @@ -59,17 +59,13 @@ __PACKAGE__->table("subscriptionhistory"); =head2 opacnote - data_type: 'varchar' - default_value: (empty string) - is_nullable: 0 - size: 150 + data_type: 'longtext' + is_nullable: 1 =head2 librariannote - data_type: 'varchar' - default_value: (empty string) - is_nullable: 0 - size: 150 + data_type: 'longtext' + is_nullable: 1 =cut @@ -87,9 +83,9 @@ __PACKAGE__->add_columns( "recievedlist", { data_type => "longtext", is_nullable => 0 }, "opacnote", - { data_type => "varchar", default_value => "", is_nullable => 0, size => 150 }, + { data_type => "longtext", is_nullable => 1 }, "librariannote", - { data_type => "varchar", default_value => "", is_nullable => 0, size => 150 }, + { data_type => "longtext", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -105,8 +101,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("subscriptionid"); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+cXluRE1oKiCGOgwq1bhJw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-09-19 20:31:29 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:agjFFZ+wiiWP5GTRKap8+Q # You can replace this text with custom content, and it will be preserved on regeneration -- 2.39.5