· 8 years ago · Mar 11, 2018, 09:46 AM
1/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
2/*!40101 SET NAMES utf8 */;
3/*!50503 SET NAMES utf8mb4 */;
4/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
5/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
6
7-- Dumping structure for table custom.template_manager_gear
8DROP TABLE IF EXISTS `template_manager_gear`;
9CREATE TABLE IF NOT EXISTS `template_manager_gear` (
10 `template_id` int(11) unsigned NOT NULL,
11 `race_id` tinyint(4) unsigned NOT NULL,
12 `slot` int(10) unsigned NOT NULL,
13 `item_entry` int(10) unsigned NOT NULL,
14 `enchant` int(10) unsigned NOT NULL,
15 `socket_1` int(10) unsigned NOT NULL,
16 `socket_2` int(10) unsigned NOT NULL,
17 `socket_3` int(10) unsigned NOT NULL,
18 `bonus_enchant` int(10) unsigned NOT NULL,
19 `prismatic_enchant` int(10) unsigned NOT NULL,
20 PRIMARY KEY (`template_id`)
21) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='TemplateManager';
22
23-- Dumping data for table custom.template_manager_gear: ~0 rows (approximately)
24/*!40000 ALTER TABLE `template_manager_gear` DISABLE KEYS */;
25/*!40000 ALTER TABLE `template_manager_gear` ENABLE KEYS */;
26
27-- Dumping structure for table custom.template_manager_glyphs
28DROP TABLE IF EXISTS `template_manager_glyphs`;
29CREATE TABLE IF NOT EXISTS `template_manager_glyphs` (
30 `template_id` int(11) unsigned NOT NULL,
31 `slot` tinyint(3) unsigned NOT NULL,
32 `glyph` int(10) unsigned NOT NULL,
33 UNIQUE KEY `template_id_slot` (`template_id`,`slot`)
34) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='TemplateManager';
35
36-- Dumping data for table custom.template_manager_glyphs: ~0 rows (approximately)
37/*!40000 ALTER TABLE `template_manager_glyphs` DISABLE KEYS */;
38/*!40000 ALTER TABLE `template_manager_glyphs` ENABLE KEYS */;
39
40-- Dumping structure for table custom.template_manager_talents
41DROP TABLE IF EXISTS `template_manager_talents`;
42CREATE TABLE IF NOT EXISTS `template_manager_talents` (
43 `template_id` int(11) unsigned NOT NULL,
44 `talent_id` int(10) unsigned NOT NULL,
45 `talent_rank` tinyint(3) unsigned NOT NULL,
46 UNIQUE KEY `template_id_talentId` (`template_id`,`talent_id`)
47) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='TemplateManager';
48
49-- Dumping data for table custom.template_manager_talents: ~0 rows (approximately)
50/*!40000 ALTER TABLE `template_manager_talents` DISABLE KEYS */;
51/*!40000 ALTER TABLE `template_manager_talents` ENABLE KEYS */;
52
53-- Dumping structure for table custom.template_manager_templates
54DROP TABLE IF EXISTS `template_manager_templates`;
55CREATE TABLE IF NOT EXISTS `template_manager_templates` (
56 `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
57 `account_id` int(11) unsigned NOT NULL,
58 `class_id` tinyint(4) unsigned NOT NULL,
59 `name` varchar(50) NOT NULL,
60 `spec` varchar(50) NOT NULL,
61 `category` tinyint(4) unsigned NOT NULL COMMENT '0=PVP,1=PVE',
62 `publisher` int(11) unsigned NOT NULL,
63 PRIMARY KEY (`id`)
64) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='TemplateManager';
65
66-- Dumping data for table custom.template_manager_templates: ~0 rows (approximately)
67/*!40000 ALTER TABLE `template_manager_templates` DISABLE KEYS */;
68/*!40000 ALTER TABLE `template_manager_templates` ENABLE KEYS */;
69
70-- Dumping structure for table custom.template_manager_trees
71DROP TABLE IF EXISTS `template_manager_trees`;
72CREATE TABLE IF NOT EXISTS `template_manager_trees` (
73 `playerClass` varchar(50) NOT NULL,
74 `playerSpec` varchar(50) NOT NULL,
75 `talentTree` smallint(5) unsigned NOT NULL,
76 PRIMARY KEY (`talentTree`)
77) ENGINE=InnoDB DEFAULT CHARSET=utf8;
78
79-- Dumping data for table custom.template_manager_trees: ~30 rows (approximately)
80/*!40000 ALTER TABLE `template_manager_trees` DISABLE KEYS */;
81INSERT INTO `template_manager_trees` (`playerClass`, `playerSpec`, `talentTree`) VALUES
82 ('Rogue', 'Combat', 181),
83 ('Rogue', 'Assassination', 182),
84 ('Rogue', 'Subtlety', 183),
85 ('Shaman', 'Elemental', 261),
86 ('Shaman', 'Restoration', 262),
87 ('Shaman', 'Enhancement', 263),
88 ('DeathKnight', 'Blood', 398),
89 ('DeathKnight', 'Frost', 399),
90 ('DeathKnight', 'Unholy', 400),
91 ('Warrior', 'Arms', 746),
92 ('Druid', 'Restoration', 748),
93 ('Druid', 'Feral', 750),
94 ('Druid', 'Balance', 752),
95 ('Priest', 'Discipline', 760),
96 ('Priest', 'Shadow', 795),
97 ('Mage', 'Arcane', 799),
98 ('Hunter', 'Marksmanship', 807),
99 ('Hunter', 'Survival', 809),
100 ('Hunter', 'Beastmastery', 811),
101 ('Priest', 'Holy', 813),
102 ('Warrior', 'Fury', 815),
103 ('Mage', 'Frost', 823),
104 ('Paladin', 'Holy', 831),
105 ('Paladin', 'Protection', 839),
106 ('Warrior', 'Protection', 845),
107 ('Mage', 'Fire', 851),
108 ('Paladin', 'Retribution', 855),
109 ('Warlock', 'Destruction', 865),
110 ('Warlock', 'Demonology', 867),
111 ('Warlock', 'Affliction', 871);
112/*!40000 ALTER TABLE `template_manager_trees` ENABLE KEYS */;
113
114/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
115/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
116/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;