Bugzilla – Attachment 46386 Details for
Bug 15478
Checksum mismatch when regenerating schema
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15478 - Checksum mismatch when regenerating schema
Bug-15478---Checksum-mismatch-when-regenerating-sc.patch (text/plain), 2.63 KB, created by
Jonathan Druart
on 2016-01-07 10:42:48 UTC
(
hide
)
Description:
Bug 15478 - Checksum mismatch when regenerating schema
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-01-07 10:42:48 UTC
Size:
2.63 KB
patch
obsolete
>From 90bcf1f953a71e28ddacc6cb378ebc4df7dc8bcd Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 6 Jan 2016 12:04:56 +0000 >Subject: [PATCH] Bug 15478 - Checksum mismatch when regenerating schema > >When regenerating the db schema on master, the script will error out >with a checksum mismatch on Borrower.pm, and also DeletedBorrower.pm > >Test Plan: >1) Check out master >2) Run ./misc/devel/update_dbix_class_files.pl >3) Note the error >4) Apply this patch >5) Re-reun ./misc/devel/update_dbix_class_files.pl >6) Note there is no error > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > Koha/Schema/Result/Borrower.pm | 19 +++++++++++++++++-- > Koha/Schema/Result/Deletedborrower.pm | 6 +++--- > 2 files changed, 20 insertions(+), 5 deletions(-) > >diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm >index a381c0c..97f65d0 100644 >--- a/Koha/Schema/Result/Borrower.pm >+++ b/Koha/Schema/Result/Borrower.pm >@@ -865,6 +865,21 @@ __PACKAGE__->has_many( > { cascade_copy => 0, cascade_delete => 0 }, > ); > >+=head2 items_last_borrowers >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::ItemsLastBorrower> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "items_last_borrowers", >+ "Koha::Schema::Result::ItemsLastBorrower", >+ { "foreign.borrowernumber" => "self.borrowernumber" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ > =head2 message_queues > > Type: has_many >@@ -1161,8 +1176,8 @@ Composing rels: L</aqorder_users> -> ordernumber > __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-21 19:50:05 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QafovaRBnm36nyoyQTGIgQ >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-06 11:59:52 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0nIBbkzhb+Yfp6qpSLo51A > > __PACKAGE__->belongs_to( > "guarantor", >diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm >index d69fcdc..3159035 100644 >--- a/Koha/Schema/Result/Deletedborrower.pm >+++ b/Koha/Schema/Result/Deletedborrower.pm >@@ -557,9 +557,9 @@ __PACKAGE__->add_columns( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-10-06 10:38:42 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NofxbMGIuZqlGCqvjPEI1Q >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-06 12:00:28 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aNmdXpOz+XN5abM67sl8uA > > >-# You can replace this text with custom content, and it will be preserved on regeneration >+# You can replace this text with custom code or comments, and it will be preserved on regeneration > 1; >-- >2.1.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 15478
:
46317
|
46318
|
46320
| 46386 |
46387