@@ -, +, @@ --- 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 @@ -473,6 +473,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 @@ -819,8 +834,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07048 @ 2020-06-12 14:01:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hU6Ldf0uN2iV1h7llLH+4g +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-07-31 17:41:26 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:m4Bb4QTD6jSk1cSPb1NTtA __PACKAGE__->add_columns( '+pickup_location' => { is_boolean => 1 } --- a/Koha/Schema/Result/Category.pm +++ a/Koha/Schema/Result/Category.pm @@ -265,6 +265,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.category_id" => "self.categorycode" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + =head2 pseudonymized_transactions Type: has_many @@ -281,8 +296,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-11 15:54:08 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mWu3jtWB0NXhGMjoapGfSg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-07-31 17:41:26 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WCuodn22ccfTYHLT9hhKmA sub koha_object_class { 'Koha::Patron::Category'; --- a/Koha/Schema/Result/Itemtype.pm +++ a/Koha/Schema/Result/Itemtype.pm @@ -197,6 +197,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_branches Type: has_many @@ -243,8 +258,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-09 17:13:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7ojvTzsDvdHPAJMwJrAZ7A +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-07-31 17:41:27 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EhYGgM/69LLmApcmDcDJdw __PACKAGE__->add_columns( '+rentalcharge_hourly_calendar' => { is_boolean => 1 }, --