@@ -, +, @@ --- Koha/Schema/Result/Branch.pm | 19 +++++++++++++++++-- Koha/Schema/Result/Category.pm | 19 +++++++++++++++++-- Koha/Schema/Result/Itemtype.pm | 19 +++++++++++++++++-- 3 files changed, 51 insertions(+), 6 deletions(-) --- a/Koha/Schema/Result/Branch.pm +++ a/Koha/Schema/Result/Branch.pm @@ -551,6 +551,21 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); +=head2 configurations + +Type: has_many + +Related object: L + +=cut + +__PACKAGE__->has_many( + "configurations", + "Koha::Schema::Result::Configuration", + { "foreign.library_id" => "self.branchcode" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + =head2 course_items Type: has_many @@ -867,8 +882,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-11-19 14:20:11 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:v83MNP0UpFzlnax8rSQWSA +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-12-23 15:46:52 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JEbin9XFqQecBdQbbXP8Eg __PACKAGE__->add_columns( '+pickup_location' => { is_boolean => 1 }, --- a/Koha/Schema/Result/Category.pm +++ a/Koha/Schema/Result/Category.pm @@ -328,9 +328,24 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); +=head2 configurations -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-11-19 14:20:11 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xrnHXXv5sd3S2sMEKzHLmA +Type: has_many + +Related object: L + +=cut + +__PACKAGE__->has_many( + "configurations", + "Koha::Schema::Result::Configuration", + { "foreign.category_id" => "self.categorycode" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-12-23 15:46:52 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AlL9KyiY8x2oi6BQ8xmKPg __PACKAGE__->add_columns( '+exclude_from_local_holds_priority' => { is_boolean => 1 }, --- a/Koha/Schema/Result/Itemtype.pm +++ a/Koha/Schema/Result/Itemtype.pm @@ -252,6 +252,21 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); +=head2 configurations + +Type: has_many + +Related object: L + +=cut + +__PACKAGE__->has_many( + "configurations", + "Koha::Schema::Result::Configuration", + { "foreign.item_type" => "self.itemtype" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + =head2 itemtypes Type: has_many @@ -333,8 +348,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-04-22 09:12:04 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/kFAnQQ7q1KaLJ9h7vk0vg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-12-23 15:46:52 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9z5L14pLpt66RyfHK+rxkA __PACKAGE__->add_columns( '+rentalcharge_hourly_calendar' => { is_boolean => 1 }, --