Bugzilla – Attachment 155684 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-09-15 14:25:22 UTC
(
hide
)
Description:
Bug 32607: DBIC schema [DO NOT PUSH]
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2023-09-15 14:25:22 UTC
Size:
1.48 KB
patch
obsolete
>From 61e4994a25d70eed5175ba9aa2a987f1d4bb16d9 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 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<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 >@@ -2103,8 +2118,8 @@ Composing rels: L</user_permissions> -> 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
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