From de77bb37e900fffe3fa4dc70bb4045fdd4956ab2 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 24 Apr 2024 17:11:09 +0000 Subject: [PATCH] Bug 36687: Schema changes --- Koha/Schema/Result/Itemtype.pm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm index d005da023f..f36bb5f864 100644 --- a/Koha/Schema/Result/Itemtype.pm +++ b/Koha/Schema/Result/Itemtype.pm @@ -106,8 +106,9 @@ default text be recorded in the column note when the processing fee is applied =head2 notforloan - data_type: 'smallint' - is_nullable: 1 + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 1 if the item is not for loan, 0 if the item is available for loan @@ -199,7 +200,7 @@ __PACKAGE__->add_columns( "processfee", { data_type => "decimal", is_nullable => 1, size => [28, 6] }, "notforloan", - { data_type => "smallint", is_nullable => 1 }, + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "imageurl", { data_type => "varchar", is_nullable => 1, size => 200 }, "summary", @@ -333,8 +334,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-09-22 11:31:25 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SoRKIMEqXE2+RkGq6zBejA +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-04-24 17:10:10 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5Fw5/RIqFOOy4kB34FM5/A __PACKAGE__->add_columns( '+automatic_checkin' => { is_boolean => 1 }, -- 2.30.2