mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-17 08:00:48 +01:00
[7802] Use more appropriate field types in character_achievement* tables. Better check data at loading. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
@@ -316,9 +316,9 @@ UNLOCK TABLES;
|
||||
|
||||
DROP TABLE IF EXISTS `character_achievement`;
|
||||
CREATE TABLE `character_achievement` (
|
||||
`guid` int(11) NOT NULL,
|
||||
`achievement` int(11) NOT NULL,
|
||||
`date` int(11) NOT NULL,
|
||||
`guid` int(11) unsigned NOT NULL,
|
||||
`achievement` int(11) unsigned NOT NULL,
|
||||
`date` bigint(11) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`guid`,`achievement`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
@@ -337,10 +337,10 @@ UNLOCK TABLES;
|
||||
|
||||
DROP TABLE IF EXISTS `character_achievement_progress`;
|
||||
CREATE TABLE `character_achievement_progress` (
|
||||
`guid` int(11) NOT NULL,
|
||||
`criteria` int(11) NOT NULL,
|
||||
`counter` int(11) NOT NULL,
|
||||
`date` int(11) NOT NULL,
|
||||
`guid` int(11) unsigned NOT NULL,
|
||||
`criteria` int(11) unsigned NOT NULL,
|
||||
`counter` int(11) unsigned NOT NULL,
|
||||
`date` bigint(11) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`guid`,`criteria`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user