Skip to content

Commit

Permalink
update sql
Browse files Browse the repository at this point in the history
  • Loading branch information
hatersgit committed Oct 14, 2023
1 parent 1863379 commit 3fcc174
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
9 changes: 0 additions & 9 deletions modules/mod-Forge/sql/world/base/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ DROP TABLE IF EXISTS `acore_world`.`forge_talents`;
DROP TABLE IF EXISTS `acore_world`.`forge_talent_ranks`;
DROP TABLE IF EXISTS `acore_world`.`forge_talent_tabs`;
DROP TABLE IF EXISTS `acore_world`.`forge_talent_prereq`;
DROP TABLE IF EXISTS `acore_world`.`forge_talent_exclusive`;
DROP TABLE IF EXISTS `acore_world`.`forge_talent_unlearn`;
DROP TABLE IF EXISTS `acore_world`.`forge_player_spell_scale`;

Expand Down Expand Up @@ -46,14 +45,6 @@ CREATE TABLE `acore_world`.`forge_talent_prereq` (
`reqRank` INT UNSIGNED NOT NULL,
PRIMARY KEY (`reqId`, `spellid`, `talentTabId`));


CREATE TABLE `acore_world`.`forge_talent_exclusive` (
`talentSpellId` MEDIUMINT UNSIGNED NOT NULL,
`talentTabId` INT UNSIGNED NOT NULL,
`exlusiveSpellId` MEDIUMINT UNSIGNED NOT NULL,
PRIMARY KEY (`talentSpellId`, `talentTabId`, `exlusiveSpellId`));


CREATE TABLE `acore_world`.`forge_talent_unlearn` (
`talentTabId` INT UNSIGNED NOT NULL,
`talentSpellId` MEDIUMINT UNSIGNED NOT NULL,
Expand Down
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;

0 comments on commit 3fcc174

Please sign in to comment.