From 579887db9e2c1d2ec66f7fc72dd6ad1ab2f58199 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 3 Nov 2023 11:18:50 -0300 Subject: [PATCH] Bug 29002: DBIC schema Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Borrower.pm | 4 ++-- Koha/Schema/Result/Deleteditem.pm | 1 + Koha/Schema/Result/Item.pm | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index a17813c7d9..3657c03c32 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -2158,8 +2158,8 @@ Composing rels: L -> permission __PACKAGE__->many_to_many("permissions", "user_permissions", "permission"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-05-09 07:11:30 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6Dg1BEP0T6C3J6hQPn4Wkw +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-03 14:18:06 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PcGXqEI1ULB+Uoclqfbxig __PACKAGE__->has_many( "restrictions", diff --git a/Koha/Schema/Result/Deleteditem.pm b/Koha/Schema/Result/Deleteditem.pm index 7183691433..a30646271c 100644 --- a/Koha/Schema/Result/Deleteditem.pm +++ b/Koha/Schema/Result/Deleteditem.pm @@ -527,6 +527,7 @@ __PACKAGE__->set_primary_key("itemnumber"); # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Afgr1jl6aeSy/rS9RJGq2g __PACKAGE__->add_columns( + '+bookable' => { is_boolean => 1 }, '+exclude_from_local_holds_priority' => { is_boolean => 1 }, ); diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm index 55cdc1ca74..8320ce4c76 100644 --- a/Koha/Schema/Result/Item.pm +++ b/Koha/Schema/Result/Item.pm @@ -983,8 +983,8 @@ __PACKAGE__->might_have( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-10-02 10:58:12 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XTlINIMqB3LroE66IjZP3A +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-03 14:18:06 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0jargxEw3HZOK57+ijsMHA __PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" ); @@ -996,6 +996,7 @@ __PACKAGE__->belongs_to( ); __PACKAGE__->add_columns( + '+bookable' => { is_boolean => 1 }, '+exclude_from_local_holds_priority' => { is_boolean => 1 }, ); -- 2.39.5