From 40cc8075588523913ca1f97b87831a9e68b53cb3 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 27 Apr 2020 11:39:19 +0100 Subject: [PATCH] Bug 23081: DBIC Update Signed-off-by: Martin Renvoize --- Koha/Schema/Result/Deleteditem.pm | 11 ++++------- Koha/Schema/Result/Item.pm | 11 ++++------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/Koha/Schema/Result/Deleteditem.pm b/Koha/Schema/Result/Deleteditem.pm index 98f1ca9ac8..c7de98dd4a 100644 --- a/Koha/Schema/Result/Deleteditem.pm +++ b/Koha/Schema/Result/Deleteditem.pm @@ -156,8 +156,8 @@ __PACKAGE__->table("deleteditems"); =head2 issues data_type: 'smallint' - is_nullable: 0 default_value: 0 + is_nullable: 1 =head2 renewals @@ -342,10 +342,7 @@ __PACKAGE__->add_columns( "coded_location_qualifier", { data_type => "varchar", is_nullable => 1, size => 10 }, "issues", - { data_type => "smallint", - is_nullable => 0, - default_value => 0, - }, + { data_type => "smallint", default_value => 0, is_nullable => 1 }, "renewals", { data_type => "smallint", is_nullable => 1 }, "reserves", @@ -410,8 +407,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("itemnumber"); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-17 10:42:24 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1+z3OHx5OpOcP82k8vyAaA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-27 10:38:13 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MsPWE8Trd034UYFcZVbCtw sub koha_objects_class { 'Koha::Old::Items'; diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm index cc80b2ba72..cb77d96ee0 100644 --- a/Koha/Schema/Result/Item.pm +++ b/Koha/Schema/Result/Item.pm @@ -159,8 +159,8 @@ __PACKAGE__->table("items"); =head2 issues data_type: 'smallint' - is_nullable: 0 default_value: 0 + is_nullable: 1 =head2 renewals @@ -356,10 +356,7 @@ __PACKAGE__->add_columns( "coded_location_qualifier", { data_type => "varchar", is_nullable => 1, size => 10 }, "issues", - { data_type => "smallint", - is_nullable => 0, - default_value => 0, - }, + { data_type => "smallint", default_value => 0, is_nullable => 1 }, "renewals", { data_type => "smallint", is_nullable => 1 }, "reserves", @@ -750,8 +747,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-17 10:42:24 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CcrMhgq+PQ1MHV6jZEN8wA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-27 10:38:13 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IpI7wRweeZCbCeU1LhZbRQ __PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" ); -- 2.39.5