Bugzilla – Attachment 157758 Details for
Bug 32607
Add record sources CRUD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32607: DBIC schema [DO NOT PUSH]
Bug-32607-DBIC-schema-DO-NOT-PUSH.patch (text/plain), 1.48 KB, created by
Tomás Cohen Arazi (tcohen)
on 2023-10-24 19:04:45 UTC
(
hide
)
Description:
Bug 32607: DBIC schema [DO NOT PUSH]
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2023-10-24 19:04:45 UTC
Size:
1.48 KB
patch
obsolete
>From 98d2fd1f4e6bd81496c0583f9891ba04b781ad3c Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Agust=C3=ADn=20Moyano?= <agustinmoyano@theke.io> >Date: Fri, 15 Sep 2023 09:22:54 -0300 >Subject: [PATCH] Bug 32607: DBIC schema [DO NOT PUSH] > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > 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<Koha::Schema::Result::RecordSource> >+ >+=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</user_permissions> -> 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32607
:
146410
|
146411
|
146412
|
149777
|
149827
|
149828
|
149829
|
154006
|
154007
|
154008
|
154009
|
154010
|
154438
|
155682
|
155683
|
155684
|
155685
|
155686
|
155958
|
157756
|
157757
|
157758
|
157759
|
157760
|
157761
|
157762
|
161362
|
161363
|
161364
|
161365
|
161366
|
161367
|
161435
|
161436
|
161437
|
161438
|
161439
|
161440
|
161441
|
161474