From 61e4994a25d70eed5175ba9aa2a987f1d4bb16d9 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 5576e8fcd28..ad81c11913b 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -1702,6 +1702,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 @@ -2103,8 +2118,8 @@ Composing rels: L -> permission __PACKAGE__->many_to_many("permissions", "user_permissions", "permission"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-06 15:46:57 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f6omVb7EtiysdaWTX3IRzg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-09-13 11:37:14 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GPfleBfgKYZk6xyCvLnTGA __PACKAGE__->has_many( "restrictions", -- 2.42.0