Bugzilla – Attachment 62146 Details for
Bug 18427
Add a primary key to serialitems
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18427: DBIx schema changes
Bug-18427-DBIx-schema-changes.patch (text/plain), 1.41 KB, created by
Marcel de Rooy
on 2017-04-13 12:03:35 UTC
(
hide
)
Description:
Bug 18427: DBIx schema changes
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-04-13 12:03:35 UTC
Size:
1.41 KB
patch
obsolete
>From 4adb3f810bd3201a4aac30c7abcf3797caa904bf Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 13 Apr 2017 13:53:37 +0200 >Subject: [PATCH] Bug 18427: DBIx schema changes >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > Koha/Schema/Result/Serialitem.pm | 10 ++++------ > 1 file changed, 4 insertions(+), 6 deletions(-) > >diff --git a/Koha/Schema/Result/Serialitem.pm b/Koha/Schema/Result/Serialitem.pm >index 6f805d3..9a70563 100644 >--- a/Koha/Schema/Result/Serialitem.pm >+++ b/Koha/Schema/Result/Serialitem.pm >@@ -44,9 +44,7 @@ __PACKAGE__->add_columns( > { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, > ); > >-=head1 UNIQUE CONSTRAINTS >- >-=head2 C<serialitemsidx> >+=head1 PRIMARY KEY > > =over 4 > >@@ -56,7 +54,7 @@ __PACKAGE__->add_columns( > > =cut > >-__PACKAGE__->add_unique_constraint("serialitemsidx", ["itemnumber"]); >+__PACKAGE__->set_primary_key("itemnumber"); > > =head1 RELATIONS > >@@ -91,8 +89,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JZcKy2QIB2c39vgpntWahQ >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-04-13 13:53:21 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Z43jqmURevaJeui7l8ThlQ > > > # You can replace this text with custom content, and it will be preserved on regeneration >-- >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 18427
:
62144
|
62145
|
62146
|
62147
|
62365
|
62366
|
62381
|
62382