Core/Items: Defined "unk" field in HotfixInfo

This commit is contained in:
Shauren committed 2012-01-31 15:13:38 +01:00
1 parent 4d6bd47f4e
commit ea070e44e0
4 files changed
+9 -4

No files matched your search

@@ -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`;