mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 13:37:02 +00:00
SQL fix.
This commit is contained in:
parent
b502d01a08
commit
589d238522
4 changed files with 4 additions and 4 deletions
3
sql/333/2_characters_mail.sql
Normal file
3
sql/333/2_characters_mail.sql
Normal 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`;
|
||||
Loading…
Add table
Add a link
Reference in a new issue