From b77af8c84f8f9732bd9458e8e512f3668338bc32 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 2 Oct 2018 00:28:53 +0000 Subject: [PATCH] Bug 21082: DO NOT PUSH - Schema updates https://bugs.koha-community.org/show_bug.cgi?id=2108 --- Koha/Schema/Result/Branch.pm | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm index b85094b..fd193a9 100644 --- a/Koha/Schema/Result/Branch.pm +++ b/Koha/Schema/Result/Branch.pm @@ -316,6 +316,21 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); +=head2 branches_overdrive + +Type: might_have + +Related object: L + +=cut + +__PACKAGE__->might_have( + "branches_overdrive", + "Koha::Schema::Result::BranchesOverdrive", + { "foreign.branchcode" => "self.branchcode" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + =head2 branchtransfers_frombranches Type: has_many @@ -617,8 +632,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-06 16:28:49 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:N0tdcSAb4bMht/i0chipYQ +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-02 00:27:54 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YPE+MSmyDELhFFKq+SpA5w # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.1.4