//fixed bug #PSCFV-2666

This commit is contained in:
vAugagneur
2012-06-04 13:10:15 +00:00
parent 80ee4cdfd8
commit 19266d75eb
+5
View File
@@ -35,3 +35,8 @@ ALTER TABLE `PREFIX_order_payment`
DROP COLUMN `id_order`,
DROP COLUMN `id_order_invoice`;
-- update for all employee the last ids for notifications
UPDATE `PREFIX_employee`
SET `id_last_order`= (SELECT max(`id_order`) FROM `PREFIX_orders`),
SET `id_last_customer_message`= (SELECT max(`id_customer_message`) FROM `PREFIX_customer_message`),
SET `id_last_customer`= (SELECT max(`id_customer`) FROM `PREFIX_customer`);