This commit is contained in:
tomrus88 2010-03-28 16:01:32 +04:00
parent b502d01a08
commit 589d238522
4 changed files with 4 additions and 4 deletions

View file

@ -0,0 +1,3 @@
UPDATE `mail` SET `body` = (SELECT `text` FROM `item_text` WHERE `item_text`.`id`=`mail`.`itemTextId`);
DELETE FROM `item_text` WHERE `id` IN (SELECT `itemTextId` FROM `mail`);
ALTER TABLE `mail` DROP COLUMN `itemTextId`;