From 1911b1b82c2b59edbc347c134ba25fc7b492dfe7 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 Signed-off-by: David Nind Signed-off-by: Kyle M Hall Signed-off-by: David Nind Signed-off-by: Owen Leonard --- 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 6ff19ac81e..c1c3e45a32 100644 --- a/Koha/Schema/Result/Category.pm +++ b/Koha/Schema/Result/Category.pm @@ -144,6 +144,12 @@ type of Koha patron (Adult, Child, Professional, Organizational, Statistical, St wheither or not a patron of this category can renew books or place holds once their card has expired. 0 means they can, 1 means they cannot, -1 means use syspref BlockExpiredPatronOpacActions +=head2 canbeguarantee + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =head2 default_privacy data_type: 'enum' @@ -237,6 +243,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", @@ -360,6 +368,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.25.1