From 5ed8d682ca4ed413e387ac37ee7fbbf7d3021cc6 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Wed, 11 Dec 2019 12:26:17 +0100 Subject: [PATCH] Bug 22833: Schema update, DO NOT PUSH Signed-off-by: Martin Renvoize Signed-off-by: Stina Hallin --- Koha/Schema/Result/Itemtype.pm | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm index 073c527b7b..1d80371e27 100644 --- a/Koha/Schema/Result/Itemtype.pm +++ b/Koha/Schema/Result/Itemtype.pm @@ -112,6 +112,18 @@ __PACKAGE__->table("itemtypes"); is_nullable: 1 size: 80 +=head2 can_suspend_hold + + data_type: 'tinyint' + default_value: 1 + is_nullable: 0 + +=head2 can_cancel_hold + + data_type: 'tinyint' + default_value: 1 + is_nullable: 0 + =cut __PACKAGE__->add_columns( @@ -150,6 +162,10 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "searchcategory", { data_type => "varchar", is_nullable => 1, size => 80 }, + "can_suspend_hold", + { data_type => "tinyint", default_value => 1, is_nullable => 0 }, + "can_cancel_hold", + { data_type => "tinyint", default_value => 1, is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -227,8 +243,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07048 @ 2019-07-04 04:56:48 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Qo6jabJSQGeYJ542ebSJfg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-10 13:05:13 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:imkleCMSxzQGqs6WXdLmjA # Use the ItemtypeLocalization view to create the join on localization our $LANGUAGE; -- 2.11.0