From cc4eba7139ee3f6c00b49bac598e2d5fcae5c650 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 cfe788ce6f..dfd76b93c8 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' @@ -171,6 +177,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", @@ -269,6 +277,10 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-04-12 02:43:58 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7rwTH9HuxcdRCBP/bj0d/A +__PACKAGE__->add_columns( + '+canbeguarantee' => { is_boolean => 1 } +); + sub koha_object_class { 'Koha::Patron::Category'; } -- 2.17.1