forked from azerothcore/azerothcore-wotlk
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
modules/mod-Forge/sql/world/updates/20231014 nodeType to forge talent and choices.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
DROP TABLE IF EXISTS `acore_world`.`forge_talent_exclusive`; | ||
DROP TABLE IF EXISTS `acore_characters`.`forge_character_node_choices`; | ||
CREATE TABLE `acore_characters`.`forge_character_node_choices` ( | ||
`guid` INT UNSIGNED NOT NULL, | ||
`spec` INT UNSIGNED NOT NULL, | ||
`tabId` INT UNSIGNED NOT NULL, | ||
`node` TINYINT UNSIGNED NOT NULL, | ||
`choice` INT UNSIGNED NOT NULL, | ||
PRIMARY KEY (`guid`, `spec`, `tabId`, `node`)); | ||
|
||
DROP TABLE IF EXISTS `acore_world`.`forge_talent_choice_nodes`; | ||
CREATE TABLE `acore_world`.`forge_talent_choice_nodes` ( | ||
`choiceNodeId` MEDIUMINT UNSIGNED NOT NULL, | ||
`talentTabId` INT UNSIGNED NOT NULL, | ||
`choiceSpellId` MEDIUMINT UNSIGNED NOT NULL, | ||
PRIMARY KEY (`choiceNodeId`, `talentTabId`, `choiceSpellId`)); | ||
|
||
ALTER TABLE `acore_world`.`forge_talents` | ||
ADD COLUMN `nodeType` TINYINT NOT null default 0; |