switch the stock entries in the database if anything's usign the old values

This commit is contained in:
james 2007-12-13 17:10:11 +00:00
parent 89f074052c
commit ab76d8b329
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
77
78

4
db/db.update.78.sql Normal file
View File

@ -0,0 +1,4 @@
UPDATE `reports_items` SET value='5161' WHERE `type`='options' AND `field`='stock' AND `value`='5961';
UPDATE `reports_items` SET value='5164' WHERE `type`='options' AND `field`='stock' AND `value`='5964';
UPDATE `reports_committee` SET `stock`='5161' WHERE `stock`='5961';
UPDATE `reports_committee` SET `stock`='5164' WHERE `stock`='5964';