Core/Items: Defined "unk" field in HotfixInfo

This commit is contained in:
Shauren
2012-01-31 15:13:38 +01:00
parent 4d6bd47f4e
commit ea070e44e0
4 changed files with 9 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
ALTER TABLE hotfix_data ADD `hotfixDate` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `unk`;
UPDATE `hotfix_data` SET `hotfixDate`=FROM_UNIXTIME(`unk`);
ALTER TABLE `hotfix_data` DROP PRIMARY KEY;
ALTER TABLE `hotfix_data` ADD PRIMARY KEY (`entry`,`type`,`hotfixDate`);
ALTER TABLE `hotfix_data` DROP `unk`;