Bugzilla – Attachment 38354 Details for
Bug 13790
Add unique id issue_id to issues and old_issues tables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13790 [QA Followup] - Disable auto increment on old_issues after pk values are created
Bug-13790-QA-Followup---Disable-auto-increment-on-.patch (text/plain), 944 bytes, created by
Kyle M Hall (khall)
on 2015-04-22 17:59:02 UTC
(
hide
)
Description:
Bug 13790 [QA Followup] - Disable auto increment on old_issues after pk values are created
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-04-22 17:59:02 UTC
Size:
944 bytes
patch
obsolete
>From e7bb766ad9682215f4e644ac1a88f2620c58b69b Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 20 Apr 2015 08:21:08 -0400 >Subject: [PATCH] Bug 13790 [QA Followup] - Disable auto increment on old_issues after pk values are created > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > installer/data/mysql/updatedatabase.pl | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 7c1ee47..a248372 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -10153,6 +10153,10 @@ if(CheckVersion($DBversion)) { > }); > > $dbh->do(q{ >+ ALTER TABLE old_issues CHANGE issue_id issue_id INT( 11 ) NOT NULL >+ }); >+ >+ $dbh->do(q{ > ALTER TABLE issues ADD issue_id INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST > }); > >-- >1.7.2.5
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 13790
:
36441
|
36442
|
37108
|
37109
|
37709
|
37710
|
38073
|
38081
|
38082
|
38155
|
38156
|
38157
|
38158
|
38182
|
38184
|
38349
|
38350
|
38351
|
38352
|
38353
| 38354 |
38429