mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Items: Defined "unk" field in HotfixInfo
This commit is contained in:
5
sql/updates/world/2012_01_31_02_world_hotfix_data.sql
Normal file
5
sql/updates/world/2012_01_31_02_world_hotfix_data.sql
Normal 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`;
|
||||
Reference in New Issue
Block a user