Bugzilla – Attachment 2564 Details for
Bug 4310
No Migration for budgets from 3.0 to 3.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch proposed for updatedatabase
0001-Bug-4310-Fixing-aqorder-migration.patch (text/plain), 1.31 KB, created by
dev_patches
on 2010-08-24 11:30:26 UTC
(
hide
)
Description:
patch proposed for updatedatabase
Filename:
MIME Type:
Creator:
dev_patches
Created:
2010-08-24 11:30:26 UTC
Size:
1.31 KB
patch
obsolete
>From d66f9b303e8394f6c58b7c659784fe31f3f00537 Mon Sep 17 00:00:00 2001 >From: Henri-Damien LAURENT <henridamien.laurent@biblibre.com> >Date: Tue, 24 Aug 2010 12:28:08 +0200 >Subject: [PATCH] Bug #4310 Fixing aqorder migration > >setting correct values and migrating aqorderbreakdown >--- > installer/data/mysql/updatedatabase.pl | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index a0b5c4a..7e04455 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -2997,6 +2997,8 @@ BUDGETDROPDATES > ADD COLUMN `sort2_authcat` varchar(10) default NULL" ); > > # cannot do until aqorderbreakdown removed >+ $dbh->do("UPDATE aqorders, aqorderbreakdown set aqorders.budget_id=aqorderbreakdown.bookfundid where aqorders.ordernumber=aqorderbreakdown.ordernumber "); >+ $dbh->do("UPDATE aqorders, aqorderbreakdown,aqbudgets set aqorders.budget_group_id=aqbudgets.budget_period_id where aqorders.ordernumber=aqorderbreakdown.ordernumber and aqbudgets=aqorderbreakdown.bookfundid"); > # $dbh->do("DROP TABLE aqbookfund "); > > # $dbh->do("ALTER TABLE aqorders ADD FOREIGN KEY (`budget_id`) REFERENCES `aqbudgets` (`budget_id`) ON UPDATE CASCADE " ); ???? >-- >1.7.0.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 4310
: 2564 |
2603