Bugzilla – Attachment 110171 Details for
Bug 18050
Missing constraint on aqbudgets.budget_period_id in aqbudgets
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18050: Add relation alias to schema
Bug-18050-Add-relation-alias-to-schema.patch (text/plain), 1.06 KB, created by
Martin Renvoize
on 2020-09-16 11:14:22 UTC
(
hide
)
Description:
Bug 18050: Add relation alias to schema
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2020-09-16 11:14:22 UTC
Size:
1.06 KB
patch
obsolete
>From a2c22d69d91bb9e277711c8de72f9620f0f56dc2 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sun, 13 Sep 2020 23:31:52 +0000 >Subject: [PATCH] Bug 18050: Add relation alias to schema > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Schema/Result/Aqbudget.pm | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/Koha/Schema/Result/Aqbudget.pm b/Koha/Schema/Result/Aqbudget.pm >index 25a5a4c464..e645e55432 100644 >--- a/Koha/Schema/Result/Aqbudget.pm >+++ b/Koha/Schema/Result/Aqbudget.pm >@@ -322,6 +322,12 @@ __PACKAGE__->many_to_many("borrowernumbers", "aqbudgetborrowers", "borrowernumbe > # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-09-13 23:03:50 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kmzXRyD6aNqPr5C6u9GBHA > >+__PACKAGE__->belongs_to( >+ "budget", >+ "Koha::Schema::Result::Aqbudgetperiod", >+ { "foreign.budget_period_id" => "self.budget_period_id" }, >+ { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, >+); > > sub koha_object_class { > 'Koha::Acquisition::Fund'; >-- >2.20.1
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 18050
:
110076
|
110078
|
110079
|
110080
|
110169
|
110170
|
110171
|
111429
|
111712
|
111713
|
111751
|
111752
|
111753
|
111754
|
111755
|
112529
|
112530