[7802] Use more appropriate field types in character_achievement* tables. Better check data at loading.

This commit is contained in:
VladimirMangos 2009-05-08 19:15:46 +04:00
parent f53d06ad70
commit fffaec6d71
6 changed files with 54 additions and 12 deletions

View file

@ -0,0 +1,6 @@
ALTER TABLE character_db_version CHANGE COLUMN required_7644_01_characters_character_pet required_7802_01_characters_character_achievement bit;
ALTER TABLE character_achievement
CHANGE COLUMN guid guid int(11) unsigned NOT NULL,
CHANGE COLUMN achievement achievement int(11) unsigned NOT NULL,
CHANGE COLUMN date date bigint(11) unsigned NOT NULL default '0';