server/sql/updates/0.16/09661_01_characters_character_talent.sql
VladimirMangos cd5d598bd6 [10001] Rename current version sql updates (0.16/root dir) to 5 digits format rev.
* order guards not affected in sql updates so this not affect sql guards work.
* TO DEVS: in next sql update commit please check carefully generated by git_is -s
  sql guards for correctness
2010-05-28 23:48:50 +04:00

13 lines
561 B
SQL

ALTER TABLE character_db_version CHANGE COLUMN required_9646_01_characters_characters required_9661_01_characters_character_talent bit;
DROP TABLE IF EXISTS `character_talent`;
CREATE TABLE `character_talent` (
`guid` int(11) unsigned NOT NULL,
`talent_id` int(11) unsigned NOT NULL,
`current_rank` tinyint(3) unsigned NOT NULL DEFAULT '0',
`spec` tinyint(3) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`talent_id`,`spec`),
KEY guid_key (`guid`),
KEY talent_key (`talent_id`),
KEY spec_key (`spec`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;