aboutsummaryrefslogtreecommitdiff
path: root/sql/characters.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/characters.sql')
-rw-r--r--sql/characters.sql56
1 files changed, 53 insertions, 3 deletions
diff --git a/sql/characters.sql b/sql/characters.sql
index 273420d98dc..9bee55654ee 100644
--- a/sql/characters.sql
+++ b/sql/characters.sql
@@ -330,6 +330,8 @@ CREATE TABLE `characters` (
`death_expire_time` bigint(20) unsigned NOT NULL default '0',
`taxi_path` text,
`arena_pending_points` int(10) UNSIGNED NOT NULL default '0',
+ `speccount` tinyint(3) unsigned NOT NULL default 1,
+ `activespec` tinyint(3) unsigned NOT NULL default 0,
`latency` int(11) unsigned NOT NULL default '0',
PRIMARY KEY (`guid`),
KEY `idx_account` (`account`),
@@ -395,12 +397,13 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `character_action`;
CREATE TABLE `character_action` (
- `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `guid` int(11) unsigned NOT NULL default '0',
+ `spec` tinyint(3) unsigned NOT NULL default '0',
`button` tinyint(3) unsigned NOT NULL default '0',
`action` int(11) unsigned NOT NULL default '0',
`type` tinyint(3) unsigned NOT NULL default '0',
- PRIMARY KEY (`guid`,`button`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+ PRIMARY KEY (`guid`,`spec`,`button`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
--
-- Dumping data for table `character_action`
@@ -560,6 +563,32 @@ LOCK TABLES `character_gifts` WRITE;
UNLOCK TABLES;
--
+-- Table structure for table `character_glyphs`
+--
+
+DROP TABLE IF EXISTS `character_glyphs`;
+CREATE TABLE `character_glyphs` (
+ `guid` int(11) unsigned NOT NULL,
+ `spec` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `glyph1` int(11) unsigned NOT NULL DEFAULT '0',
+ `glyph2` int(11) unsigned DEFAULT '0',
+ `glyph3` int(11) unsigned DEFAULT '0',
+ `glyph4` int(11) unsigned DEFAULT '0',
+ `glyph5` int(11) unsigned DEFAULT '0',
+ `glyph6` int(11) unsigned DEFAULT '0',
+ PRIMARY KEY (`guid`,`spec`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `character_glyphs`
+--
+
+LOCK TABLES `character_glyphs` WRITE;
+/*!40000 ALTER TABLE `character_glyphs` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_glyphs` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
-- Table structure for table `character_homebind`
--
@@ -840,6 +869,27 @@ LOCK TABLES `character_spell_cooldown` WRITE;
UNLOCK TABLES;
--
+-- Table structure for table `character_talent`
+--
+
+DROP TABLE IF EXISTS `character_talent`;
+CREATE TABLE `character_talent` (
+ `guid` int(11) unsigned NOT NULL,
+ `spell` int(11) unsigned NOT NULL,
+ `spec` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`guid`,`spell`,`spec`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `character_tutorial`
+--
+
+LOCK TABLES `character_talent` WRITE;
+/*!40000 ALTER TABLE `character_talent` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_talent` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
-- Table structure for table `character_tutorial`
--