Bugzilla – Attachment 65650 Details for
Bug 14826
Store account offsets
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14826 - Update existing schema files
Bug-14826---Update-existing-schema-files.patch (text/plain), 2.86 KB, created by
Kyle M Hall (khall)
on 2017-08-08 14:39:29 UTC
(
hide
)
Description:
Bug 14826 - Update existing schema files
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2017-08-08 14:39:29 UTC
Size:
2.86 KB
patch
obsolete
>From 720e33bf073df919d587e04a19c84e34e4c1cc1f Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 6 Jun 2017 12:43:08 +0000 >Subject: [PATCH] Bug 14826 - Update existing schema files > >--- > Koha/Schema/Result/Accountline.pm | 34 ++++++++++++++++++++++++++++++++-- > Koha/Schema/Result/Borrower.pm | 19 ++----------------- > 2 files changed, 34 insertions(+), 19 deletions(-) > >diff --git a/Koha/Schema/Result/Accountline.pm b/Koha/Schema/Result/Accountline.pm >index d3fa5b3..4cc86a2 100644 >--- a/Koha/Schema/Result/Accountline.pm >+++ b/Koha/Schema/Result/Accountline.pm >@@ -185,6 +185,36 @@ __PACKAGE__->set_primary_key("accountlines_id"); > > =head1 RELATIONS > >+=head2 account_offsets_credits >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::AccountOffset> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "account_offsets_credits", >+ "Koha::Schema::Result::AccountOffset", >+ { "foreign.credit_id" => "self.accountlines_id" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ >+=head2 account_offsets_debits >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::AccountOffset> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "account_offsets_debits", >+ "Koha::Schema::Result::AccountOffset", >+ { "foreign.debit_id" => "self.accountlines_id" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ > =head2 borrowernumber > > Type: belongs_to >@@ -221,8 +251,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-26 17:18:34 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RCQohhphtg+0+RszpB4wLg >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-02-15 16:13:26 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OuH2XMR7vE5PQB5ih0VQaw > > > # You can replace this text with custom content, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm >index e50268d..dba6fc7 100644 >--- a/Koha/Schema/Result/Borrower.pm >+++ b/Koha/Schema/Result/Borrower.pm >@@ -702,21 +702,6 @@ __PACKAGE__->has_many( > { cascade_copy => 0, cascade_delete => 0 }, > ); > >-=head2 accountoffsets >- >-Type: has_many >- >-Related object: L<Koha::Schema::Result::Accountoffset> >- >-=cut >- >-__PACKAGE__->has_many( >- "accountoffsets", >- "Koha::Schema::Result::Accountoffset", >- { "foreign.borrowernumber" => "self.borrowernumber" }, >- { cascade_copy => 0, cascade_delete => 0 }, >-); >- > =head2 aqbasketusers > > Type: has_many >@@ -1378,8 +1363,8 @@ Composing rels: L</aqorder_users> -> ordernumber > __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-05-09 21:24:02 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7llO928plwtX2Q+I9nQA8A >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-06-06 12:38:38 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Rns/UbA53rzA2i7L0UwiGw > > __PACKAGE__->belongs_to( > "guarantor", >-- >2.1.4
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 14826
:
53318
|
53319
|
53320
|
53321
|
53324
|
53326
|
53602
|
53603
|
53604
|
53605
|
53606
|
53607
|
59254
|
59255
|
59256
|
59257
|
59258
|
60270
|
60271
|
60272
|
60273
|
60274
|
60275
|
60276
|
60277
|
60278
|
60439
|
60440
|
60441
|
60442
|
60443
|
60444
|
60445
|
60446
|
64051
|
64052
|
64053
|
64054
|
64055
|
64056
|
64057
|
64058
|
64059
|
64217
|
64220
|
64222
|
64223
|
64224
|
64225
|
64226
|
64227
|
64228
|
65459
|
65460
|
65461
|
65462
|
65463
|
65464
|
65465
|
65466
|
65467
|
65642
|
65643
|
65644
|
65645
|
65646
|
65647
|
65648
|
65649
|
65650
|
65651
|
65652
|
66387
|
66388
|
66389
|
66390
|
66391
|
66392
|
66393
|
66394
|
66395
|
66396
|
66397
|
66716
|
67453
|
67454
|
67455
|
67456
|
67457
|
67458
|
67459
|
67460
|
67461
|
67462
|
67463
|
67464
|
67465
|
67936
|
67937
|
67938
|
67939
|
67940
|
67941
|
67942
|
67943
|
67944
|
67945
|
67946
|
67947
|
67948
|
67949
|
68018
|
68019
|
68020
|
68021
|
68022
|
68023
|
68024
|
68025
|
68026
|
68027
|
68028
|
68029
|
68030
|
68031
|
68032
|
68334
|
68383