From 12b494938362a6603f57beea7590a0df778b0436 Mon Sep 17 00:00:00 2001 From: Maryse Simard Date: Tue, 1 Oct 2019 10:55:56 -0400 Subject: [PATCH] Bug 12446: Schema update Category.pm --- Koha/Schema/Result/Category.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm index 0fdac2cc7c..9e615fdace 100644 --- a/Koha/Schema/Result/Category.pm +++ b/Koha/Schema/Result/Category.pm @@ -109,6 +109,12 @@ __PACKAGE__->table("categories"); default_value: -1 is_nullable: 0 +=head2 canbeguarantee + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =head2 default_privacy data_type: 'enum' @@ -186,6 +192,8 @@ __PACKAGE__->add_columns( default_value => -1, is_nullable => 0, }, + "canbeguarantee", + { data_type => "tinyint", default_value => 0, is_nullable => 0}, "default_privacy", { data_type => "enum", @@ -309,6 +317,10 @@ __PACKAGE__->add_columns( '+exclude_from_local_holds_priority' => { is_boolean => 1 }, ); +__PACKAGE__->add_columns( + '+canbeguarantee' => { is_boolean => 1 } +); + sub koha_object_class { 'Koha::Patron::Category'; } -- 2.17.1