Bugzilla – Attachment 60898 Details for
Bug 17361
Add item messages table and rest api endpoints
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17361: Update existing schema
Bug-17361-Update-existing-schema.patch (text/plain), 1.35 KB, created by
Tomás Cohen Arazi (tcohen)
on 2017-03-07 19:30:10 UTC
(
hide
)
Description:
Bug 17361: Update existing schema
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2017-03-07 19:30:10 UTC
Size:
1.35 KB
patch
obsolete
>From 29679898b31de4bb2c392fed0f03b291cbbfdaff Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 3 Mar 2017 14:06:28 +0000 >Subject: [PATCH] Bug 17361: Update existing schema > >--- > Koha/Schema/Result/Item.pm | 19 +++++++++++++++++-- > 1 file changed, 17 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm >index ce85bd7b72..fdd02a6d61 100644 >--- a/Koha/Schema/Result/Item.pm >+++ b/Koha/Schema/Result/Item.pm >@@ -599,6 +599,21 @@ __PACKAGE__->might_have( > { cascade_copy => 0, cascade_delete => 0 }, > ); > >+=head2 item_messages >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::ItemMessage> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "item_messages", >+ "Koha::Schema::Result::ItemMessage", >+ { "foreign.itemnumber" => "self.itemnumber" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ > =head2 items_last_borrower > > Type: might_have >@@ -675,8 +690,8 @@ __PACKAGE__->might_have( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-10-24 13:56:21 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Vf1sBZrpUo0Cvi896fjNuA >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-03 14:03:01 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:m7lTJnDxhx+N4NAq/C1OrA > > __PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" ); > >-- >2.12.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 17361
:
60897
| 60898 |
60899
|
60900