Bugzilla – Attachment 60970 Details for
Bug 18242
Move of checkouts to old_issues is not handled correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18242: [SOLUTION 1]Schema changes
Bug-18242-SOLUTION-1Schema-changes.patch (text/plain), 1.56 KB, created by
Jonathan Druart
on 2017-03-09 20:03:31 UTC
(
hide
)
Description:
Bug 18242: [SOLUTION 1]Schema changes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-03-09 20:03:31 UTC
Size:
1.56 KB
patch
obsolete
>From 6c0b00b5bf6e36e4a82b7c9aa0fa9f547a7500d1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 9 Mar 2017 15:53:49 -0300 >Subject: [PATCH] Bug 18242: [SOLUTION 1]Schema changes > >--- > Koha/Schema/Result/OldIssue.pm | 16 ++++++++++++---- > 1 file changed, 12 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/OldIssue.pm b/Koha/Schema/Result/OldIssue.pm >index 5f8491f..856b5ec 100644 >--- a/Koha/Schema/Result/OldIssue.pm >+++ b/Koha/Schema/Result/OldIssue.pm >@@ -23,6 +23,12 @@ __PACKAGE__->table("old_issues"); > > =head1 ACCESSORS > >+=head2 id >+ >+ data_type: 'integer' >+ is_auto_increment: 1 >+ is_nullable: 0 >+ > =head2 issue_id > > data_type: 'integer' >@@ -103,6 +109,8 @@ __PACKAGE__->table("old_issues"); > =cut > > __PACKAGE__->add_columns( >+ "id", >+ { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, > "issue_id", > { data_type => "integer", is_nullable => 0 }, > "borrowernumber", >@@ -156,13 +164,13 @@ __PACKAGE__->add_columns( > > =over 4 > >-=item * L</issue_id> >+=item * L</id> > > =back > > =cut > >-__PACKAGE__->set_primary_key("issue_id"); >+__PACKAGE__->set_primary_key("id"); > > =head1 RELATIONS > >@@ -207,8 +215,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-04-23 13:04:51 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9GdzytyInRcFZns/q0qb3Q >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-09 15:35:19 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4N/RnY1dwjY/b2iMAdAXzQ > > sub koha_objects_class { > 'Koha::Old::Checkouts'; >-- >2.9.3
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 18242
:
60969
|
60970
|
60971
|
60972
|
60973
|
61056
|
61057
|
61254
|
61255
|
61794
|
63168
|
63169
|
63170