-- -- Table structure for table `auctionhouse` -- DROP TABLE IF EXISTS `auctionhouse`; CREATE TABLE `auctionhouse` ( `auctioneerguid` int(32) NOT NULL default '0', `itemguid` int(32) NOT NULL default '0', `itemowner` int(32) NOT NULL default '0', `buyoutprice` int(32) NOT NULL default '0', `time` bigint(40) NOT NULL default '0', `buyguid` int(32) NOT NULL default '0', `lastbid` int(32) NOT NULL default '0', `id` int(32) NOT NULL default '0' ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `auctionhouse` -- /*!40000 ALTER TABLE `auctionhouse` DISABLE KEYS */; LOCK TABLES `auctionhouse` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `auctionhouse` ENABLE KEYS */; -- -- Table structure for table `character` -- DROP TABLE IF EXISTS `character`; CREATE TABLE `character` ( `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `realm` int(11) unsigned NOT NULL default '0' COMMENT 'Realm Identifier', `account` bigint(20) unsigned NOT NULL default '0' COMMENT 'Account Identifier', `data` longtext, `name` varchar(12) NOT NULL default '', `race` tinyint(3) unsigned NOT NULL default '0', `class` tinyint(3) unsigned NOT NULL default '0', `position_x` float NOT NULL default '0', `position_y` float NOT NULL default '0', `position_z` float NOT NULL default '0', `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier', `orientation` float NOT NULL default '0', `taximask` longtext, `online` tinyint(3) unsigned NOT NULL default '0', `highest_rank` int(11) NOT NULL default '0', `standing` int(11) NOT NULL default '0', `rating` float NOT NULL default '0', `cinematic` tinyint(3) unsigned NOT NULL default '0', `totaltime` int(11) unsigned NOT NULL default '0', `leveltime` int(11) unsigned NOT NULL default '0', `logout_time` int(11) NOT NULL DEFAULT '0', `is_logout_resting` int(11) NOT NULL DEFAULT '0', `rest_bonus` FLOAT NOT NULL DEFAULT '0', PRIMARY KEY (`guid`), KEY `idx_account` (`account`), KEY `idx_online` (`online`), FULLTEXT KEY `idx_name` (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; -- -- Dumping data for table `character` -- /*!40000 ALTER TABLE `character` DISABLE KEYS */; LOCK TABLES `character` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `character` ENABLE KEYS */; -- -- Table structure for table `character_action` -- DROP TABLE IF EXISTS `character_action`; CREATE TABLE `character_action` ( `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `button` int(11) unsigned NOT NULL default '0', `action` int(11) unsigned NOT NULL default '0', `type` smallint(3) unsigned NOT NULL default '0', `misc` smallint(3) unsigned NOT NULL default '0', PRIMARY KEY (`guid`,`button`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; -- -- Dumping data for table `character_action` -- /*!40000 ALTER TABLE `character_action` DISABLE KEYS */; LOCK TABLES `character_action` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `character_action` ENABLE KEYS */; -- -- Table structure for table `character_aura` -- DROP TABLE IF EXISTS `character_aura`; CREATE TABLE `character_aura` ( `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `spell` int(11) unsigned NOT NULL default '0', `effect_index` int(11) unsigned NOT NULL default '0', `remaintime` int(11) NOT NULL default '0', PRIMARY KEY (`guid`,`spell`,`effect_index`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; -- -- Dumping data for table `character_aura` -- /*!40000 ALTER TABLE `character_aura` DISABLE KEYS */; LOCK TABLES `character_aura` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `character_aura` ENABLE KEYS */; -- -- Table structure for table `character_homebind` -- DROP TABLE IF EXISTS `character_homebind`; CREATE TABLE `character_homebind` ( `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier', `zone` int(11) unsigned NOT NULL default '0' COMMENT 'Zone Identifier', `position_x` float NOT NULL default '0', `position_y` float NOT NULL default '0', `position_z` float NOT NULL default '0', PRIMARY KEY (`guid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; -- -- Dumping data for table `character_homebind` -- /*!40000 ALTER TABLE `character_homebind` DISABLE KEYS */; LOCK TABLES `character_homebind` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `character_homebind` ENABLE KEYS */; -- -- Table structure for table `character_inventory` -- DROP TABLE IF EXISTS `character_inventory`; CREATE TABLE `character_inventory` ( `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `bag` tinyint(3) unsigned NOT NULL default '0', `slot` tinyint(3) unsigned NOT NULL default '0', `item` bigint(20) unsigned NOT NULL default '0' COMMENT 'Item Global Unique Identifier', `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier', PRIMARY KEY (`guid`,`bag`,`slot`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; -- -- Dumping data for table `character_inventory` -- /*!40000 ALTER TABLE `character_inventory` DISABLE KEYS */; LOCK TABLES `character_inventory` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `character_inventory` ENABLE KEYS */; -- -- Table structure for table `character_kill` -- DROP TABLE IF EXISTS `character_kill`; CREATE TABLE `character_kill` ( `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `creature_template` int(11) unsigned NOT NULL default '0' COMMENT 'Creature Identifier', `honor` float NOT NULL default '0', `date` int(11) unsigned NOT NULL default '0', `type` smallint(9) unsigned NOT NULL default '0', KEY `idx_guid` (`guid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; -- -- Dumping data for table `character_kill` -- /*!40000 ALTER TABLE `character_kill` DISABLE KEYS */; LOCK TABLES `character_kill` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `character_kill` ENABLE KEYS */; -- -- Table structure for table `character_pet` -- DROP TABLE IF EXISTS `character_pet`; CREATE TABLE `character_pet` ( `id` int(11) unsigned NOT NULL auto_increment, `entry` int(11) unsigned NOT NULL default '0', `owner` int(11) unsigned NOT NULL default '0', `level` int(11) unsigned NOT NULL default '1', `exp` int(11) unsigned NOT NULL default '0', `nextlvlexp` int(11) unsigned NOT NULL default '100', `spell1` int(11) unsigned NOT NULL default '0', `spell2` int(11) unsigned NOT NULL default '0', `spell3` int(11) unsigned NOT NULL default '0', `spell4` int(11) unsigned NOT NULL default '0', `action` int(11) unsigned NOT NULL default '0', `fealty` int(11) unsigned NOT NULL default '0', `loyalty` int(11) unsigned NOT NULL default '1', `trainpoint` int(11) unsigned NOT NULL default '0', `current` tinyint(1) unsigned NOT NULL default '1', PRIMARY KEY (`id`), KEY `owner` (`owner`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; -- -- Dumping data for table `character_pet` -- /*!40000 ALTER TABLE `character_pet` DISABLE KEYS */; LOCK TABLES `character_pet` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `character_pet` ENABLE KEYS */; -- -- Table structure for table `character_queststatus` -- DROP TABLE IF EXISTS `character_queststatus`; CREATE TABLE `character_queststatus` ( `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier', `status` int(11) unsigned NOT NULL default '0', `rewarded` tinyint(1) unsigned NOT NULL default '0', `explored` tinyint(1) unsigned NOT NULL default '0', `completed_once` tinyint(1) unsigned NOT NULL default '0', `timer` bigint(20) unsigned NOT NULL default '0', `mobcount1` int(11) unsigned NOT NULL default '0', `mobcount2` int(11) unsigned NOT NULL default '0', `mobcount3` int(11) unsigned NOT NULL default '0', `mobcount4` int(11) unsigned NOT NULL default '0', `itemcount1` int(11) unsigned NOT NULL default '0', `itemcount2` int(11) unsigned NOT NULL default '0', `itemcount3` int(11) unsigned NOT NULL default '0', `itemcount4` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`guid`,`quest`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; -- -- Dumping data for table `character_queststatus` -- /*!40000 ALTER TABLE `character_queststatus` DISABLE KEYS */; LOCK TABLES `character_queststatus` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `character_queststatus` ENABLE KEYS */; -- -- Table structure for table `character_reputation` -- DROP TABLE IF EXISTS `character_reputation`; CREATE TABLE `character_reputation` ( `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `faction` int(11) unsigned NOT NULL default '0', `reputation` int(11) unsigned NOT NULL default '0' COMMENT 'Reputation Identifier', `standing` int(11) NOT NULL default '0', `flags` int(11) NOT NULL default '0', PRIMARY KEY (`guid`,`faction`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; -- -- Dumping data for table `character_reputation` -- /*!40000 ALTER TABLE `character_reputation` DISABLE KEYS */; LOCK TABLES `character_reputation` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `character_reputation` ENABLE KEYS */; -- -- Table structure for table `character_social` -- DROP TABLE IF EXISTS `character_social`; CREATE TABLE `character_social` ( `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `name` varchar(21) NOT NULL default '', `friend` bigint(20) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier', `flags` varchar(21) NOT NULL default '', PRIMARY KEY (`guid`,`friend`,`flags`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; -- -- Dumping data for table `character_social` -- /*!40000 ALTER TABLE `character_social` DISABLE KEYS */; LOCK TABLES `character_social` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `character_social` ENABLE KEYS */; -- -- Table structure for table `character_spell` -- DROP TABLE IF EXISTS `character_spell`; CREATE TABLE `character_spell` ( `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier', `slot` int(11) unsigned NOT NULL default '0', `active` int(11) unsigned NOT NULL default '1', PRIMARY KEY (`guid`,`spell`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; -- -- Dumping data for table `character_spell` -- /*!40000 ALTER TABLE `character_spell` DISABLE KEYS */; LOCK TABLES `character_spell` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `character_spell` ENABLE KEYS */; -- -- Table structure for table `character_stable` -- DROP TABLE IF EXISTS `character_stable`; CREATE TABLE `character_stable` ( `owner` int(11) unsigned NOT NULL default '0', `slot` int(11) unsigned NOT NULL default '0', `petnumber` int(11) unsigned NOT NULL default '0', `entry` int(11) unsigned NOT NULL default '0', `level` int(11) unsigned NOT NULL default '0', `loyalty` int(11) unsigned NOT NULL default '1', `trainpoint` int(11) unsigned NOT NULL default '0', KEY `petnumber` (`petnumber`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; -- -- Dumping data for table `character_stable` -- /*!40000 ALTER TABLE `character_stable` DISABLE KEYS */; LOCK TABLES `character_stable` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `character_stable` ENABLE KEYS */; -- -- Table structure for table `character_ticket` -- DROP TABLE IF EXISTS `character_ticket`; CREATE TABLE `character_ticket` ( `ticket_id` int(11) NOT NULL auto_increment, `guid` int(6) unsigned NOT NULL default '0', `ticket_text` varchar(255) NOT NULL default '', `ticket_category` int(1) NOT NULL default '0', PRIMARY KEY (`ticket_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; -- -- Dumping data for table `character_ticket` -- /*!40000 ALTER TABLE `character_ticket` DISABLE KEYS */; LOCK TABLES `character_ticket` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `character_ticket` ENABLE KEYS */; -- -- Table structure for table `character_tutorial` -- DROP TABLE IF EXISTS `character_tutorial`; CREATE TABLE `character_tutorial` ( `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `tut0` bigint(20) unsigned NOT NULL default '0', `tut1` bigint(20) unsigned NOT NULL default '0', `tut2` bigint(20) unsigned NOT NULL default '0', `tut3` bigint(20) unsigned NOT NULL default '0', `tut4` bigint(20) unsigned NOT NULL default '0', `tut5` bigint(20) unsigned NOT NULL default '0', `tut6` bigint(20) unsigned NOT NULL default '0', `tut7` bigint(20) unsigned NOT NULL default '0', PRIMARY KEY (`guid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; -- -- Dumping data for table `character_tutorial` -- /*!40000 ALTER TABLE `character_tutorial` DISABLE KEYS */; LOCK TABLES `character_tutorial` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `character_tutorial` ENABLE KEYS */; -- -- Table structure for table `guild` -- DROP TABLE IF EXISTS `guild`; CREATE TABLE `guild` ( `guildid` int(6) unsigned NOT NULL default '0', `name` varchar(255) NOT NULL default '', `leaderguid` int(6) unsigned NOT NULL default '0', `EmblemStyle` int(5) unsigned NOT NULL default '0', `EmblemColor` int(5) unsigned NOT NULL default '0', `BorderStyle` int(5) unsigned NOT NULL default '0', `BorderColor` int(5) unsigned NOT NULL default '0', `BackgroundColor` int(5) unsigned NOT NULL default '0', `MOTD` varchar(255) NOT NULL default '', `createdate` datetime default NULL, PRIMARY KEY (`guildid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System'; -- -- Dumping data for table `guild` -- /*!40000 ALTER TABLE `guild` DISABLE KEYS */; LOCK TABLES `guild` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `guild` ENABLE KEYS */; -- -- Table structure for table `guild_member` -- DROP TABLE IF EXISTS `guild_member`; CREATE TABLE `guild_member` ( `guildid` int(6) unsigned NOT NULL default '0', `guid` int(6) NOT NULL default '0', `rank` tinyint(2) unsigned NOT NULL default '0', `Pnote` varchar(255) NOT NULL default '', `OFFnote` varchar(255) NOT NULL default '' ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System'; -- -- Dumping data for table `guild_member` -- /*!40000 ALTER TABLE `guild_member` DISABLE KEYS */; LOCK TABLES `guild_member` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `guild_member` ENABLE KEYS */; -- -- Table structure for table `guild_rank` -- DROP TABLE IF EXISTS `guild_rank`; CREATE TABLE `guild_rank` ( `guildid` int(6) unsigned NOT NULL default '0', `rname` varchar(255) NOT NULL default '', `rights` int(3) unsigned NOT NULL default '0' ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System'; -- -- Dumping data for table `guild_rank` -- /*!40000 ALTER TABLE `guild_rank` DISABLE KEYS */; LOCK TABLES `guild_rank` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `guild_rank` ENABLE KEYS */; -- -- Table structure for table `item_instance` -- DROP TABLE IF EXISTS `item_instance`; CREATE TABLE `item_instance` ( `guid` bigint(20) NOT NULL default '0', `data` longtext, PRIMARY KEY (`guid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item System'; -- -- Dumping data for table `item_instance` -- /*!40000 ALTER TABLE `item_instance` DISABLE KEYS */; LOCK TABLES `item_instance` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `item_instance` ENABLE KEYS */; -- -- Table structure for table `mail` -- DROP TABLE IF EXISTS `mail`; CREATE TABLE `mail` ( `id` bigint(20) unsigned NOT NULL default '0' COMMENT 'Identifier', `sender` bigint(20) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier', `receiver` bigint(20) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier', `subject` longtext, `body` longtext, `item` bigint(20) unsigned NOT NULL default '0' COMMENT 'Mail Item Global Unique Identifier', `time` int(11) unsigned NOT NULL default '0', `money` int(11) unsigned NOT NULL default '0', `cod` bigint(20) unsigned NOT NULL default '0', `checked` tinyint(3) unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `idx_receiver` (`receiver`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Mail System'; -- -- Dumping data for table `mail` -- /*!40000 ALTER TABLE `mail` DISABLE KEYS */; LOCK TABLES `mail` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `mail` ENABLE KEYS */;