From f7630d746947b82b40098be4cbac266e4a494553 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 3 Mar 2020 16:19:53 +0000 Subject: [PATCH] Bug 23355: (RM follow-up) Remove reintroduced relationship As part of an accidental push of a DO NOT PUSH schema update commit we re-introduced a formerly removed relationship accessor This patch removes that mistake. Tests added to the pre-push hook to prevent future mishaps. Signed-off-by: Martin Renvoize --- Koha/Schema/Result/Borrower.pm | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 1f542d978d..dd305eca39 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -1649,14 +1649,9 @@ Composing rels: L -> ordernumber __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-07-23 13:21:02 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f25Xar862YgzWuWq5/LIRA -__PACKAGE__->belongs_to( - "guarantor", - "Koha::Schema::Result::Borrower", - { borrowernumber => "guarantorid" }, -); +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-03 16:19:12 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+f1QrESEOMGM1coANPgWtQ __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, -- 2.39.5