From 98d2fd1f4e6bd81496c0583f9891ba04b781ad3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Moyano?= Date: Fri, 15 Sep 2023 09:22:54 -0300 Subject: [PATCH] Bug 32607: DBIC schema [DO NOT PUSH] Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Borrower.pm | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index ff0c1ca9b1a..1a1d36e64ec 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -1717,6 +1717,21 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); +=head2 record_sources + +Type: has_many + +Related object: L + +=cut + +__PACKAGE__->has_many( + "record_sources", + "Koha::Schema::Result::RecordSource", + { "foreign.patron_id" => "self.borrowernumber" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + =head2 reserves Type: has_many @@ -2118,8 +2133,8 @@ Composing rels: L -> permission __PACKAGE__->many_to_many("permissions", "user_permissions", "permission"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-10-10 14:16:46 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nIMnqyBVBam7NvIx4aDfHw +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-10-24 19:03:09 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BQ1XRx8cWcRIRqwwkIDI/g __PACKAGE__->has_many( "restrictions", -- 2.42.0