Files
azerothcore-wotlk/sql/structure/CHARACTERS_SPELLS_RUN_ONCE.sql
Yehonal e8e94a0a66 First Commit
For Azeroth!
2016-06-26 10:39:44 +02:00

11 lines
401 B
SQL

ALTER TABLE character_spell DROP COLUMN `active`;
ALTER TABLE character_spell DROP COLUMN `disabled`;
ALTER TABLE character_spell ADD `specMask` tinyint(3) unsigned NOT NULL DEFAULT 255;
TRUNCATE TABLE character_talent;
TRUNCATE TABLE character_aura;
ALTER TABLE character_talent CHANGE `spec` `specMask` tinyint(3) unsigned NOT NULL DEFAULT 0;
UPDATE characters SET speccount=1 WHERE speccount=0;