mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
5 lines
No EOL
367 B
SQL
5 lines
No EOL
367 B
SQL
UPDATE `quest_template` SET `PrevQuestId`=`HaveQuestId` * '-1' WHERE `HaveQuestId`!='0' AND `PrevQuestId`='0';
|
|
ALTER TABLE `quest_template` DROP `HaveQuestId`;
|
|
|
|
ALTER TABLE `quest_template` ADD COLUMN `NextQuestInChain` int(11) unsigned NOT NULL default '0' AFTER `ExclusiveGroup`;
|
|
UPDATE `quest_template` SET `NextQuestInChain`=`NextQuestId` WHERE `NextQuestId`>'0'; |