Advertisement
julienanid

Characters Database

Feb 9th, 2013
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 85.13 KB | None | 0 0
  1. -- MySQL dump 10.13  Distrib 5.5.21, for Win64 (x86)
  2. --
  3. -- Host: localhost    Database: characters
  4. -- ------------------------------------------------------
  5. -- Server version   5.5.21
  6.  
  7. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  8. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  9. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  10. /*!40101 SET NAMES utf8 */;
  11. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  12. /*!40103 SET TIME_ZONE='+00:00' */;
  13. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  14. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  15. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  16. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  17.  
  18. --
  19. -- Table structure for table `account_data`
  20. --
  21.  
  22. DROP TABLE IF EXISTS `account_data`;
  23. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  24. /*!40101 SET character_set_client = utf8 */;
  25. CREATE TABLE `account_data` (
  26.   `accountId` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
  27.   `type` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  28.   `time` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  29.   `data` BLOB NOT NULL,
  30.   PRIMARY KEY (`accountId`,`type`)
  31. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  32. /*!40101 SET character_set_client = @saved_cs_client */;
  33.  
  34. --
  35. -- Dumping data for table `account_data`
  36. --
  37.  
  38. LOCK TABLES `account_data` WRITE;
  39. /*!40000 ALTER TABLE `account_data` DISABLE KEYS */;
  40. /*!40000 ALTER TABLE `account_data` ENABLE KEYS */;
  41. UNLOCK TABLES;
  42.  
  43. --
  44. -- Table structure for table `account_instance_times`
  45. --
  46.  
  47. DROP TABLE IF EXISTS `account_instance_times`;
  48. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  49. /*!40101 SET character_set_client = utf8 */;
  50. CREATE TABLE `account_instance_times` (
  51.   `accountId` INT(10) UNSIGNED NOT NULL,
  52.   `instanceId` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  53.   `releaseTime` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
  54.   PRIMARY KEY (`accountId`,`instanceId`)
  55. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  56. /*!40101 SET character_set_client = @saved_cs_client */;
  57.  
  58. --
  59. -- Dumping data for table `account_instance_times`
  60. --
  61.  
  62. LOCK TABLES `account_instance_times` WRITE;
  63. /*!40000 ALTER TABLE `account_instance_times` DISABLE KEYS */;
  64. /*!40000 ALTER TABLE `account_instance_times` ENABLE KEYS */;
  65. UNLOCK TABLES;
  66.  
  67. --
  68. -- Table structure for table `account_tutorial`
  69. --
  70.  
  71. DROP TABLE IF EXISTS `account_tutorial`;
  72. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  73. /*!40101 SET character_set_client = utf8 */;
  74. CREATE TABLE `account_tutorial` (
  75.   `accountId` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
  76.   `tut0` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  77.   `tut1` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  78.   `tut2` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  79.   `tut3` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  80.   `tut4` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  81.   `tut5` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  82.   `tut6` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  83.   `tut7` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  84.   PRIMARY KEY (`accountId`)
  85. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  86. /*!40101 SET character_set_client = @saved_cs_client */;
  87.  
  88. --
  89. -- Dumping data for table `account_tutorial`
  90. --
  91.  
  92. LOCK TABLES `account_tutorial` WRITE;
  93. /*!40000 ALTER TABLE `account_tutorial` DISABLE KEYS */;
  94. /*!40000 ALTER TABLE `account_tutorial` ENABLE KEYS */;
  95. UNLOCK TABLES;
  96.  
  97. --
  98. -- Table structure for table `addons`
  99. --
  100.  
  101. DROP TABLE IF EXISTS `addons`;
  102. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  103. /*!40101 SET character_set_client = utf8 */;
  104. CREATE TABLE `addons` (
  105.   `name` VARCHAR(120) NOT NULL DEFAULT '',
  106.   `crc` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  107.   PRIMARY KEY (`name`)
  108. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Addons';
  109. /*!40101 SET character_set_client = @saved_cs_client */;
  110.  
  111. --
  112. -- Dumping data for table `addons`
  113. --
  114.  
  115. LOCK TABLES `addons` WRITE;
  116. /*!40000 ALTER TABLE `addons` DISABLE KEYS */;
  117. /*!40000 ALTER TABLE `addons` ENABLE KEYS */;
  118. UNLOCK TABLES;
  119.  
  120. --
  121. -- Table structure for table `arena_team`
  122. --
  123.  
  124. DROP TABLE IF EXISTS `arena_team`;
  125. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  126. /*!40101 SET character_set_client = utf8 */;
  127. CREATE TABLE `arena_team` (
  128.   `arenaTeamId` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  129.   `name` VARCHAR(24) NOT NULL,
  130.   `captainGuid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  131.   `type` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  132.   `rating` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  133.   `seasonGames` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  134.   `seasonWins` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  135.   `weekGames` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  136.   `weekWins` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  137.   `rank` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  138.   `backgroundColor` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  139.   `emblemStyle` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  140.   `emblemColor` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  141.   `borderStyle` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  142.   `borderColor` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  143.   PRIMARY KEY (`arenaTeamId`)
  144. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  145. /*!40101 SET character_set_client = @saved_cs_client */;
  146.  
  147. --
  148. -- Dumping data for table `arena_team`
  149. --
  150.  
  151. LOCK TABLES `arena_team` WRITE;
  152. /*!40000 ALTER TABLE `arena_team` DISABLE KEYS */;
  153. /*!40000 ALTER TABLE `arena_team` ENABLE KEYS */;
  154. UNLOCK TABLES;
  155.  
  156. --
  157. -- Table structure for table `arena_team_member`
  158. --
  159.  
  160. DROP TABLE IF EXISTS `arena_team_member`;
  161. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  162. /*!40101 SET character_set_client = utf8 */;
  163. CREATE TABLE `arena_team_member` (
  164.   `arenaTeamId` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  165.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  166.   `weekGames` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  167.   `weekWins` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  168.   `seasonGames` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  169.   `seasonWins` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  170.   `personalRating` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  171.   PRIMARY KEY (`arenaTeamId`,`guid`)
  172. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  173. /*!40101 SET character_set_client = @saved_cs_client */;
  174.  
  175. --
  176. -- Dumping data for table `arena_team_member`
  177. --
  178.  
  179. LOCK TABLES `arena_team_member` WRITE;
  180. /*!40000 ALTER TABLE `arena_team_member` DISABLE KEYS */;
  181. /*!40000 ALTER TABLE `arena_team_member` ENABLE KEYS */;
  182. UNLOCK TABLES;
  183.  
  184. --
  185. -- Table structure for table `auctionhouse`
  186. --
  187.  
  188. DROP TABLE IF EXISTS `auctionhouse`;
  189. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  190. /*!40101 SET character_set_client = utf8 */;
  191. CREATE TABLE `auctionhouse` (
  192.   `id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  193.   `auctioneerguid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  194.   `itemguid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  195.   `itemowner` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  196.   `buyoutprice` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  197.   `time` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  198.   `buyguid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  199.   `lastbid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  200.   `startbid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  201.   `deposit` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  202.   PRIMARY KEY (`id`),
  203.   UNIQUE KEY `item_guid` (`itemguid`)
  204. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  205. /*!40101 SET character_set_client = @saved_cs_client */;
  206.  
  207. --
  208. -- Dumping data for table `auctionhouse`
  209. --
  210.  
  211. LOCK TABLES `auctionhouse` WRITE;
  212. /*!40000 ALTER TABLE `auctionhouse` DISABLE KEYS */;
  213. /*!40000 ALTER TABLE `auctionhouse` ENABLE KEYS */;
  214. UNLOCK TABLES;
  215.  
  216. --
  217. -- Table structure for table `bugreport`
  218. --
  219.  
  220. DROP TABLE IF EXISTS `bugreport`;
  221. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  222. /*!40101 SET character_set_client = utf8 */;
  223. CREATE TABLE `bugreport` (
  224.   `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
  225.   `type` longtext NOT NULL,
  226.   `content` longtext NOT NULL,
  227.   PRIMARY KEY (`id`)
  228. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Debug System';
  229. /*!40101 SET character_set_client = @saved_cs_client */;
  230.  
  231. --
  232. -- Dumping data for table `bugreport`
  233. --
  234.  
  235. LOCK TABLES `bugreport` WRITE;
  236. /*!40000 ALTER TABLE `bugreport` DISABLE KEYS */;
  237. /*!40000 ALTER TABLE `bugreport` ENABLE KEYS */;
  238. UNLOCK TABLES;
  239.  
  240. --
  241. -- Table structure for table `calendar_events`
  242. --
  243.  
  244. DROP TABLE IF EXISTS `calendar_events`;
  245. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  246. /*!40101 SET character_set_client = utf8 */;
  247. CREATE TABLE IF NOT EXISTS `calendar_events` (
  248.   `id` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
  249.   `creator` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  250.   `title` VARCHAR(255) NOT NULL DEFAULT '',
  251.   `description` VARCHAR(255) NOT NULL DEFAULT '',
  252.   `type` tinyint(1) UNSIGNED NOT NULL DEFAULT '4',
  253.   `dungeon` INT(10) NOT NULL DEFAULT '-1',
  254.   `eventtime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  255.   `flags` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  256.   `time2` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  257.   PRIMARY KEY (`id`)
  258. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  259. /*!40101 SET character_set_client = @saved_cs_client */;
  260.  
  261. --
  262. -- Table structure for table `calendar_invites`
  263. --
  264.  
  265. DROP TABLE IF EXISTS `calendar_invites`;
  266. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  267. /*!40101 SET character_set_client = utf8 */;
  268. CREATE TABLE IF NOT EXISTS `calendar_invites` (
  269.   `id` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
  270.   `event` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
  271.   `invitee` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  272.   `sender` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  273.   `status` tinyint(1) UNSIGNED NOT NULL DEFAULT '0',
  274.   `statustime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  275.   `rank` tinyint(1) UNSIGNED NOT NULL DEFAULT '0',
  276.   `text` VARCHAR(255) NOT NULL DEFAULT '',
  277.   PRIMARY KEY (`id`)
  278. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  279. /*!40101 SET character_set_client = @saved_cs_client */;
  280.  
  281. --
  282. -- Table structure for table `channels`
  283. --
  284.  
  285. DROP TABLE IF EXISTS `channels`;
  286. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  287. /*!40101 SET character_set_client = utf8 */;
  288. CREATE TABLE `channels` (
  289.   `name` VARCHAR(128) NOT NULL,
  290.   `team` INT(10) UNSIGNED NOT NULL,
  291.   `announce` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
  292.   `ownership` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
  293.   `password` VARCHAR(32) DEFAULT NULL,
  294.   `bannedList` text,
  295.   `lastUsed` INT(10) UNSIGNED NOT NULL,
  296.   PRIMARY KEY (`name`,`team`)
  297. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Channel System';
  298. /*!40101 SET character_set_client = @saved_cs_client */;
  299.  
  300. --
  301. -- Dumping data for table `channels`
  302. --
  303.  
  304. LOCK TABLES `channels` WRITE;
  305. /*!40000 ALTER TABLE `channels` DISABLE KEYS */;
  306. /*!40000 ALTER TABLE `channels` ENABLE KEYS */;
  307. UNLOCK TABLES;
  308.  
  309. --
  310. -- Table structure for table `character_account_data`
  311. --
  312.  
  313. DROP TABLE IF EXISTS `character_account_data`;
  314. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  315. /*!40101 SET character_set_client = utf8 */;
  316. CREATE TABLE `character_account_data` (
  317.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  318.   `type` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  319.   `time` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  320.   `data` BLOB NOT NULL,
  321.   PRIMARY KEY (`guid`,`type`)
  322. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  323. /*!40101 SET character_set_client = @saved_cs_client */;
  324.  
  325. --
  326. -- Dumping data for table `character_account_data`
  327. --
  328.  
  329. LOCK TABLES `character_account_data` WRITE;
  330. /*!40000 ALTER TABLE `character_account_data` DISABLE KEYS */;
  331. /*!40000 ALTER TABLE `character_account_data` ENABLE KEYS */;
  332. UNLOCK TABLES;
  333.  
  334. --
  335. -- Table structure for table `character_achievement`
  336. --
  337.  
  338. DROP TABLE IF EXISTS `character_achievement`;
  339. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  340. /*!40101 SET character_set_client = utf8 */;
  341. CREATE TABLE `character_achievement` (
  342.   `guid` INT(10) UNSIGNED NOT NULL,
  343.   `achievement` SMALLINT(5) UNSIGNED NOT NULL,
  344.   `date` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  345.   PRIMARY KEY (`guid`,`achievement`)
  346. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  347. /*!40101 SET character_set_client = @saved_cs_client */;
  348.  
  349. --
  350. -- Dumping data for table `character_achievement`
  351. --
  352.  
  353. LOCK TABLES `character_achievement` WRITE;
  354. /*!40000 ALTER TABLE `character_achievement` DISABLE KEYS */;
  355. /*!40000 ALTER TABLE `character_achievement` ENABLE KEYS */;
  356. UNLOCK TABLES;
  357.  
  358. --
  359. -- Table structure for table `character_achievement_progress`
  360. --
  361.  
  362. DROP TABLE IF EXISTS `character_achievement_progress`;
  363. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  364. /*!40101 SET character_set_client = utf8 */;
  365. CREATE TABLE `character_achievement_progress` (
  366.   `guid` INT(10) UNSIGNED NOT NULL,
  367.   `criteria` SMALLINT(5) UNSIGNED NOT NULL,
  368.   `counter` INT(10) UNSIGNED NOT NULL,
  369.   `date` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  370.   PRIMARY KEY (`guid`,`criteria`)
  371. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  372. /*!40101 SET character_set_client = @saved_cs_client */;
  373.  
  374. --
  375. -- Dumping data for table `character_achievement_progress`
  376. --
  377.  
  378. LOCK TABLES `character_achievement_progress` WRITE;
  379. /*!40000 ALTER TABLE `character_achievement_progress` DISABLE KEYS */;
  380. /*!40000 ALTER TABLE `character_achievement_progress` ENABLE KEYS */;
  381. UNLOCK TABLES;
  382.  
  383. --
  384. -- Table structure for table `character_action`
  385. --
  386.  
  387. DROP TABLE IF EXISTS `character_action`;
  388. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  389. /*!40101 SET character_set_client = utf8 */;
  390. CREATE TABLE `character_action` (
  391.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  392.   `spec` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  393.   `button` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  394.   `action` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  395.   `type` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  396.   PRIMARY KEY (`guid`,`spec`,`button`)
  397. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  398. /*!40101 SET character_set_client = @saved_cs_client */;
  399.  
  400. --
  401. -- Dumping data for table `character_action`
  402. --
  403.  
  404. LOCK TABLES `character_action` WRITE;
  405. /*!40000 ALTER TABLE `character_action` DISABLE KEYS */;
  406. /*!40000 ALTER TABLE `character_action` ENABLE KEYS */;
  407. UNLOCK TABLES;
  408.  
  409. --
  410. -- Table structure for table `character_arena_stats`
  411. --
  412.  
  413. DROP TABLE IF EXISTS `character_arena_stats`;
  414. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  415. /*!40101 SET character_set_client = utf8 */;
  416. CREATE TABLE `character_arena_stats` (
  417.   `guid` INT(10) NOT NULL,
  418.   `slot` tinyint(3) NOT NULL,
  419.   `matchMakerRating` SMALLINT(5) NOT NULL,
  420.   PRIMARY KEY (`guid`,`slot`)
  421. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  422. /*!40101 SET character_set_client = @saved_cs_client */;
  423.  
  424. --
  425. -- Dumping data for table `character_arena_stats`
  426. --
  427.  
  428. LOCK TABLES `character_arena_stats` WRITE;
  429. /*!40000 ALTER TABLE `character_arena_stats` DISABLE KEYS */;
  430. /*!40000 ALTER TABLE `character_arena_stats` ENABLE KEYS */;
  431. UNLOCK TABLES;
  432.  
  433. --
  434. -- Table structure for table `character_aura`
  435. --
  436.  
  437. DROP TABLE IF EXISTS `character_aura`;
  438. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  439. /*!40101 SET character_set_client = utf8 */;
  440. CREATE TABLE `character_aura` (
  441.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  442.   `caster_guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier',
  443.   `item_guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
  444.   `spell` mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
  445.   `effect_mask` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  446.   `recalculate_mask` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  447.   `stackcount` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
  448.   `amount0` INT(11) NOT NULL DEFAULT '0',
  449.   `amount1` INT(11) NOT NULL DEFAULT '0',
  450.   `amount2` INT(11) NOT NULL DEFAULT '0',
  451.   `base_amount0` INT(11) NOT NULL DEFAULT '0',
  452.   `base_amount1` INT(11) NOT NULL DEFAULT '0',
  453.   `base_amount2` INT(11) NOT NULL DEFAULT '0',
  454.   `maxduration` INT(11) NOT NULL DEFAULT '0',
  455.   `remaintime` INT(11) NOT NULL DEFAULT '0',
  456.   `remaincharges` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  457.   PRIMARY KEY (`guid`,`caster_guid`,`item_guid`,`spell`,`effect_mask`)
  458. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  459. /*!40101 SET character_set_client = @saved_cs_client */;
  460.  
  461. --
  462. -- Dumping data for table `character_aura`
  463. --
  464.  
  465. LOCK TABLES `character_aura` WRITE;
  466. /*!40000 ALTER TABLE `character_aura` DISABLE KEYS */;
  467. /*!40000 ALTER TABLE `character_aura` ENABLE KEYS */;
  468. UNLOCK TABLES;
  469.  
  470. --
  471. -- Table structure for table `character_banned`
  472. --
  473.  
  474. DROP TABLE IF EXISTS `character_banned`;
  475. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  476. /*!40101 SET character_set_client = utf8 */;
  477. CREATE TABLE `character_banned` (
  478.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  479.   `bandate` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  480.   `unbandate` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  481.   `bannedby` VARCHAR(50) NOT NULL,
  482.   `banreason` VARCHAR(255) NOT NULL,
  483.   `active` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
  484.   PRIMARY KEY (`guid`,`bandate`)
  485. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Ban List';
  486. /*!40101 SET character_set_client = @saved_cs_client */;
  487.  
  488. --
  489. -- Dumping data for table `character_banned`
  490. --
  491.  
  492. LOCK TABLES `character_banned` WRITE;
  493. /*!40000 ALTER TABLE `character_banned` DISABLE KEYS */;
  494. /*!40000 ALTER TABLE `character_banned` ENABLE KEYS */;
  495. UNLOCK TABLES;
  496.  
  497. --
  498. -- Table structure for table `character_battleground_data`
  499. --
  500.  
  501. DROP TABLE IF EXISTS `character_battleground_data`;
  502. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  503. /*!40101 SET character_set_client = utf8 */;
  504. CREATE TABLE `character_battleground_data` (
  505.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  506.   `instanceId` INT(10) UNSIGNED NOT NULL COMMENT 'Instance Identifier',
  507.   `team` SMALLINT(5) UNSIGNED NOT NULL,
  508.   `joinX` FLOAT NOT NULL DEFAULT '0',
  509.   `joinY` FLOAT NOT NULL DEFAULT '0',
  510.   `joinZ` FLOAT NOT NULL DEFAULT '0',
  511.   `joinO` FLOAT NOT NULL DEFAULT '0',
  512.   `joinMapId` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
  513.   `taxiStart` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  514.   `taxiEnd` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  515.   `mountSpell` mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
  516.   PRIMARY KEY (`guid`)
  517. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  518. /*!40101 SET character_set_client = @saved_cs_client */;
  519.  
  520. --
  521. -- Dumping data for table `character_battleground_data`
  522. --
  523.  
  524. LOCK TABLES `character_battleground_data` WRITE;
  525. /*!40000 ALTER TABLE `character_battleground_data` DISABLE KEYS */;
  526. /*!40000 ALTER TABLE `character_battleground_data` ENABLE KEYS */;
  527. UNLOCK TABLES;
  528.  
  529. --
  530. -- Table structure for table `character_battleground_random`
  531. --
  532.  
  533. DROP TABLE IF EXISTS `character_battleground_random`;
  534. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  535. /*!40101 SET character_set_client = utf8 */;
  536. CREATE TABLE `character_battleground_random` (
  537.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  538.   PRIMARY KEY (`guid`)
  539. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  540. /*!40101 SET character_set_client = @saved_cs_client */;
  541.  
  542. --
  543. -- Dumping data for table `character_battleground_random`
  544. --
  545.  
  546. LOCK TABLES `character_battleground_random` WRITE;
  547. /*!40000 ALTER TABLE `character_battleground_random` DISABLE KEYS */;
  548. /*!40000 ALTER TABLE `character_battleground_random` ENABLE KEYS */;
  549. UNLOCK TABLES;
  550.  
  551. --
  552. -- Table structure for table `character_declinedname`
  553. --
  554.  
  555. DROP TABLE IF EXISTS `character_declinedname`;
  556. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  557. /*!40101 SET character_set_client = utf8 */;
  558. CREATE TABLE `character_declinedname` (
  559.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  560.   `genitive` VARCHAR(15) NOT NULL DEFAULT '',
  561.   `dative` VARCHAR(15) NOT NULL DEFAULT '',
  562.   `accusative` VARCHAR(15) NOT NULL DEFAULT '',
  563.   `instrumental` VARCHAR(15) NOT NULL DEFAULT '',
  564.   `prepositional` VARCHAR(15) NOT NULL DEFAULT '',
  565.   PRIMARY KEY (`guid`)
  566. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  567. /*!40101 SET character_set_client = @saved_cs_client */;
  568.  
  569. --
  570. -- Dumping data for table `character_declinedname`
  571. --
  572.  
  573. LOCK TABLES `character_declinedname` WRITE;
  574. /*!40000 ALTER TABLE `character_declinedname` DISABLE KEYS */;
  575. /*!40000 ALTER TABLE `character_declinedname` ENABLE KEYS */;
  576. UNLOCK TABLES;
  577.  
  578. --
  579. -- Table structure for table `character_equipmentsets`
  580. --
  581.  
  582. DROP TABLE IF EXISTS `character_equipmentsets`;
  583. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  584. /*!40101 SET character_set_client = utf8 */;
  585. CREATE TABLE `character_equipmentsets` (
  586.   `guid` INT(10) NOT NULL DEFAULT '0',
  587.   `setguid` BIGINT(20) NOT NULL AUTO_INCREMENT,
  588.   `setindex` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  589.   `name` VARCHAR(31) NOT NULL,
  590.   `iconname` VARCHAR(100) NOT NULL,
  591.   `ignore_mask` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  592.   `item0` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  593.   `item1` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  594.   `item2` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  595.   `item3` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  596.   `item4` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  597.   `item5` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  598.   `item6` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  599.   `item7` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  600.   `item8` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  601.   `item9` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  602.   `item10` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  603.   `item11` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  604.   `item12` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  605.   `item13` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  606.   `item14` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  607.   `item15` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  608.   `item16` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  609.   `item17` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  610.   `item18` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  611.   PRIMARY KEY (`setguid`),
  612.   UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`),
  613.   KEY `Idx_setindex` (`setindex`)
  614. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  615. /*!40101 SET character_set_client = @saved_cs_client */;
  616.  
  617. --
  618. -- Dumping data for table `character_equipmentsets`
  619. --
  620.  
  621. LOCK TABLES `character_equipmentsets` WRITE;
  622. /*!40000 ALTER TABLE `character_equipmentsets` DISABLE KEYS */;
  623. /*!40000 ALTER TABLE `character_equipmentsets` ENABLE KEYS */;
  624. UNLOCK TABLES;
  625.  
  626. --
  627. -- Table structure for table `character_gifts`
  628. --
  629.  
  630. DROP TABLE IF EXISTS `character_gifts`;
  631. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  632. /*!40101 SET character_set_client = utf8 */;
  633. CREATE TABLE `character_gifts` (
  634.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  635.   `item_guid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  636.   `entry` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  637.   `flags` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  638.   PRIMARY KEY (`item_guid`),
  639.   KEY `idx_guid` (`guid`)
  640. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  641. /*!40101 SET character_set_client = @saved_cs_client */;
  642.  
  643. --
  644. -- Dumping data for table `character_gifts`
  645. --
  646.  
  647. LOCK TABLES `character_gifts` WRITE;
  648. /*!40000 ALTER TABLE `character_gifts` DISABLE KEYS */;
  649. /*!40000 ALTER TABLE `character_gifts` ENABLE KEYS */;
  650. UNLOCK TABLES;
  651.  
  652. --
  653. -- Table structure for table `character_glyphs`
  654. --
  655.  
  656. DROP TABLE IF EXISTS `character_glyphs`;
  657. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  658. /*!40101 SET character_set_client = utf8 */;
  659. CREATE TABLE `character_glyphs` (
  660.   `guid` INT(10) UNSIGNED NOT NULL,
  661.   `spec` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  662.   `glyph1` SMALLINT(5) UNSIGNED DEFAULT '0',
  663.   `glyph2` SMALLINT(5) UNSIGNED DEFAULT '0',
  664.   `glyph3` SMALLINT(5) UNSIGNED DEFAULT '0',
  665.   `glyph4` SMALLINT(5) UNSIGNED DEFAULT '0',
  666.   `glyph5` SMALLINT(5) UNSIGNED DEFAULT '0',
  667.   `glyph6` SMALLINT(5) UNSIGNED DEFAULT '0',
  668.   PRIMARY KEY (`guid`,`spec`)
  669. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  670. /*!40101 SET character_set_client = @saved_cs_client */;
  671.  
  672. --
  673. -- Dumping data for table `character_glyphs`
  674. --
  675.  
  676. LOCK TABLES `character_glyphs` WRITE;
  677. /*!40000 ALTER TABLE `character_glyphs` DISABLE KEYS */;
  678. /*!40000 ALTER TABLE `character_glyphs` ENABLE KEYS */;
  679. UNLOCK TABLES;
  680.  
  681. --
  682. -- Table structure for table `character_homebind`
  683. --
  684.  
  685. DROP TABLE IF EXISTS `character_homebind`;
  686. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  687. /*!40101 SET character_set_client = utf8 */;
  688. CREATE TABLE `character_homebind` (
  689.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  690.   `mapId` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
  691.   `zoneId` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Zone Identifier',
  692.   `posX` FLOAT NOT NULL DEFAULT '0',
  693.   `posY` FLOAT NOT NULL DEFAULT '0',
  694.   `posZ` FLOAT NOT NULL DEFAULT '0',
  695.   PRIMARY KEY (`guid`)
  696. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  697. /*!40101 SET character_set_client = @saved_cs_client */;
  698.  
  699. --
  700. -- Dumping data for table `character_homebind`
  701. --
  702.  
  703. LOCK TABLES `character_homebind` WRITE;
  704. /*!40000 ALTER TABLE `character_homebind` DISABLE KEYS */;
  705. /*!40000 ALTER TABLE `character_homebind` ENABLE KEYS */;
  706. UNLOCK TABLES;
  707.  
  708. --
  709. -- Table structure for table `character_instance`
  710. --
  711.  
  712. DROP TABLE IF EXISTS `character_instance`;
  713. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  714. /*!40101 SET character_set_client = utf8 */;
  715. CREATE TABLE `character_instance` (
  716.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  717.   `instance` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  718.   `permanent` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  719.   PRIMARY KEY (`guid`,`instance`),
  720.   KEY `instance` (`instance`)
  721. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  722. /*!40101 SET character_set_client = @saved_cs_client */;
  723.  
  724. --
  725. -- Dumping data for table `character_instance`
  726. --
  727.  
  728. LOCK TABLES `character_instance` WRITE;
  729. /*!40000 ALTER TABLE `character_instance` DISABLE KEYS */;
  730. /*!40000 ALTER TABLE `character_instance` ENABLE KEYS */;
  731. UNLOCK TABLES;
  732.  
  733. --
  734. -- Table structure for table `character_inventory`
  735. --
  736.  
  737. DROP TABLE IF EXISTS `character_inventory`;
  738. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  739. /*!40101 SET character_set_client = utf8 */;
  740. CREATE TABLE `character_inventory` (
  741.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  742.   `bag` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  743.   `slot` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  744.   `item` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Item Global Unique Identifier',
  745.   PRIMARY KEY (`item`),
  746.   UNIQUE KEY `guid` (`guid`,`bag`,`slot`),
  747.   KEY `idx_guid` (`guid`)
  748. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  749. /*!40101 SET character_set_client = @saved_cs_client */;
  750.  
  751. --
  752. -- Dumping data for table `character_inventory`
  753. --
  754.  
  755. LOCK TABLES `character_inventory` WRITE;
  756. /*!40000 ALTER TABLE `character_inventory` DISABLE KEYS */;
  757. /*!40000 ALTER TABLE `character_inventory` ENABLE KEYS */;
  758. UNLOCK TABLES;
  759.  
  760. --
  761. -- Table structure for table `character_pet`
  762. --
  763.  
  764. DROP TABLE IF EXISTS `character_pet`;
  765. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  766. /*!40101 SET character_set_client = utf8 */;
  767. CREATE TABLE `character_pet` (
  768.   `id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  769.   `entry` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  770.   `owner` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  771.   `modelid` INT(10) UNSIGNED DEFAULT '0',
  772.   `CreatedBySpell` mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
  773.   `PetType` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  774.   `level` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '1',
  775.   `exp` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  776.   `Reactstate` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  777.   `name` VARCHAR(21) NOT NULL DEFAULT 'Pet',
  778.   `renamed` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  779.   `slot` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  780.   `curhealth` INT(10) UNSIGNED NOT NULL DEFAULT '1',
  781.   `curmana` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  782.   `curhappiness` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  783.   `savetime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  784.   `abdata` text,
  785.   PRIMARY KEY (`id`),
  786.   KEY `owner` (`owner`),
  787.   KEY `idx_slot` (`slot`)
  788. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
  789. /*!40101 SET character_set_client = @saved_cs_client */;
  790.  
  791. --
  792. -- Dumping data for table `character_pet`
  793. --
  794.  
  795. LOCK TABLES `character_pet` WRITE;
  796. /*!40000 ALTER TABLE `character_pet` DISABLE KEYS */;
  797. /*!40000 ALTER TABLE `character_pet` ENABLE KEYS */;
  798. UNLOCK TABLES;
  799.  
  800. --
  801. -- Table structure for table `character_pet_declinedname`
  802. --
  803.  
  804. DROP TABLE IF EXISTS `character_pet_declinedname`;
  805. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  806. /*!40101 SET character_set_client = utf8 */;
  807. CREATE TABLE `character_pet_declinedname` (
  808.   `id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  809.   `owner` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  810.   `genitive` VARCHAR(12) NOT NULL DEFAULT '',
  811.   `dative` VARCHAR(12) NOT NULL DEFAULT '',
  812.   `accusative` VARCHAR(12) NOT NULL DEFAULT '',
  813.   `instrumental` VARCHAR(12) NOT NULL DEFAULT '',
  814.   `prepositional` VARCHAR(12) NOT NULL DEFAULT '',
  815.   PRIMARY KEY (`id`),
  816.   KEY `owner_key` (`owner`)
  817. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  818. /*!40101 SET character_set_client = @saved_cs_client */;
  819.  
  820. --
  821. -- Dumping data for table `character_pet_declinedname`
  822. --
  823.  
  824. LOCK TABLES `character_pet_declinedname` WRITE;
  825. /*!40000 ALTER TABLE `character_pet_declinedname` DISABLE KEYS */;
  826. /*!40000 ALTER TABLE `character_pet_declinedname` ENABLE KEYS */;
  827. UNLOCK TABLES;
  828.  
  829. --
  830. -- Table structure for table `character_queststatus`
  831. --
  832.  
  833. DROP TABLE IF EXISTS `character_queststatus`;
  834. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  835. /*!40101 SET character_set_client = utf8 */;
  836. CREATE TABLE `character_queststatus` (
  837.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  838.   `quest` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
  839.   `status` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  840.   `explored` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  841.   `timer` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  842.   `mobcount1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  843.   `mobcount2` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  844.   `mobcount3` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  845.   `mobcount4` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  846.   `itemcount1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  847.   `itemcount2` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  848.   `itemcount3` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  849.   `itemcount4` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  850.   `playercount` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  851.   PRIMARY KEY (`guid`,`quest`)
  852. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  853. /*!40101 SET character_set_client = @saved_cs_client */;
  854.  
  855. --
  856. -- Dumping data for table `character_queststatus`
  857. --
  858.  
  859. LOCK TABLES `character_queststatus` WRITE;
  860. /*!40000 ALTER TABLE `character_queststatus` DISABLE KEYS */;
  861. /*!40000 ALTER TABLE `character_queststatus` ENABLE KEYS */;
  862. UNLOCK TABLES;
  863.  
  864. --
  865. -- Table structure for table `character_queststatus_daily`
  866. --
  867.  
  868. DROP TABLE IF EXISTS `character_queststatus_daily`;
  869. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  870. /*!40101 SET character_set_client = utf8 */;
  871. CREATE TABLE `character_queststatus_daily` (
  872.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  873.   `quest` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
  874.   `time` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  875.   PRIMARY KEY (`guid`,`quest`),
  876.   KEY `idx_guid` (`guid`)
  877. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  878. /*!40101 SET character_set_client = @saved_cs_client */;
  879.  
  880. --
  881. -- Dumping data for table `character_queststatus_daily`
  882. --
  883.  
  884. LOCK TABLES `character_queststatus_daily` WRITE;
  885. /*!40000 ALTER TABLE `character_queststatus_daily` DISABLE KEYS */;
  886. /*!40000 ALTER TABLE `character_queststatus_daily` ENABLE KEYS */;
  887. UNLOCK TABLES;
  888.  
  889. --
  890. -- Table structure for table `character_queststatus_rewarded`
  891. --
  892.  
  893. DROP TABLE IF EXISTS `character_queststatus_rewarded`;
  894. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  895. /*!40101 SET character_set_client = utf8 */;
  896. CREATE TABLE `character_queststatus_rewarded` (
  897.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  898.   `quest` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
  899.   PRIMARY KEY (`guid`,`quest`)
  900. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  901. /*!40101 SET character_set_client = @saved_cs_client */;
  902.  
  903. --
  904. -- Dumping data for table `character_queststatus_rewarded`
  905. --
  906.  
  907. LOCK TABLES `character_queststatus_rewarded` WRITE;
  908. /*!40000 ALTER TABLE `character_queststatus_rewarded` DISABLE KEYS */;
  909. /*!40000 ALTER TABLE `character_queststatus_rewarded` ENABLE KEYS */;
  910. UNLOCK TABLES;
  911.  
  912. --
  913. -- Table structure for table `character_queststatus_seasonal`
  914. --
  915.  
  916. DROP TABLE IF EXISTS `character_queststatus_seasonal`;
  917. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  918. /*!40101 SET character_set_client = utf8 */;
  919. CREATE TABLE `character_queststatus_seasonal` (
  920.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  921.   `quest` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
  922.   `event` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Event Identifier',
  923.   PRIMARY KEY (`guid`,`quest`),
  924.   KEY `idx_guid` (`guid`)
  925. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  926. /*!40101 SET character_set_client = @saved_cs_client */;
  927.  
  928. --
  929. -- Dumping data for table `character_queststatus_seasonal`
  930. --
  931.  
  932. LOCK TABLES `character_queststatus_seasonal` WRITE;
  933. /*!40000 ALTER TABLE `character_queststatus_seasonal` DISABLE KEYS */;
  934. /*!40000 ALTER TABLE `character_queststatus_seasonal` ENABLE KEYS */;
  935. UNLOCK TABLES;
  936.  
  937. --
  938. -- Table structure for table `character_queststatus_monthly`
  939. --
  940.  
  941. DROP TABLE IF EXISTS `character_queststatus_monthly`;
  942. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  943. /*!40101 SET character_set_client = utf8 */;
  944. CREATE TABLE `character_queststatus_monthly` (
  945.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  946.   `quest` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
  947.   PRIMARY KEY (`guid`,`quest`),
  948.   KEY `idx_guid` (`guid`)
  949. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  950. /*!40101 SET character_set_client = @saved_cs_client */;
  951.  
  952. --
  953. -- Dumping data for table `character_queststatus_monthly`
  954. --
  955.  
  956. LOCK TABLES `character_queststatus_monthly` WRITE;
  957. /*!40000 ALTER TABLE `character_queststatus_monthly` DISABLE KEYS */;
  958. /*!40000 ALTER TABLE `character_queststatus_monthly` ENABLE KEYS */;
  959. UNLOCK TABLES;
  960.  
  961. --
  962. -- Table structure for table `character_queststatus_weekly`
  963. --
  964.  
  965. DROP TABLE IF EXISTS `character_queststatus_weekly`;
  966. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  967. /*!40101 SET character_set_client = utf8 */;
  968. CREATE TABLE `character_queststatus_weekly` (
  969.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  970.   `quest` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
  971.   PRIMARY KEY (`guid`,`quest`),
  972.   KEY `idx_guid` (`guid`)
  973. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  974. /*!40101 SET character_set_client = @saved_cs_client */;
  975.  
  976. --
  977. -- Dumping data for table `character_queststatus_weekly`
  978. --
  979.  
  980. LOCK TABLES `character_queststatus_weekly` WRITE;
  981. /*!40000 ALTER TABLE `character_queststatus_weekly` DISABLE KEYS */;
  982. /*!40000 ALTER TABLE `character_queststatus_weekly` ENABLE KEYS */;
  983. UNLOCK TABLES;
  984.  
  985. --
  986. -- Table structure for table `character_reputation`
  987. --
  988.  
  989. DROP TABLE IF EXISTS `character_reputation`;
  990. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  991. /*!40101 SET character_set_client = utf8 */;
  992. CREATE TABLE `character_reputation` (
  993.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  994.   `faction` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  995.   `standing` INT(11) NOT NULL DEFAULT '0',
  996.   `flags` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  997.   PRIMARY KEY (`guid`,`faction`)
  998. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  999. /*!40101 SET character_set_client = @saved_cs_client */;
  1000.  
  1001. --
  1002. -- Dumping data for table `character_reputation`
  1003. --
  1004.  
  1005. LOCK TABLES `character_reputation` WRITE;
  1006. /*!40000 ALTER TABLE `character_reputation` DISABLE KEYS */;
  1007. /*!40000 ALTER TABLE `character_reputation` ENABLE KEYS */;
  1008. UNLOCK TABLES;
  1009.  
  1010. --
  1011. -- Table structure for table `character_skills`
  1012. --
  1013.  
  1014. DROP TABLE IF EXISTS `character_skills`;
  1015. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1016. /*!40101 SET character_set_client = utf8 */;
  1017. CREATE TABLE `character_skills` (
  1018.   `guid` INT(10) UNSIGNED NOT NULL COMMENT 'Global Unique Identifier',
  1019.   `skill` SMALLINT(5) UNSIGNED NOT NULL,
  1020.   `value` SMALLINT(5) UNSIGNED NOT NULL,
  1021.   `max` SMALLINT(5) UNSIGNED NOT NULL,
  1022.   PRIMARY KEY (`guid`,`skill`)
  1023. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  1024. /*!40101 SET character_set_client = @saved_cs_client */;
  1025.  
  1026. --
  1027. -- Dumping data for table `character_skills`
  1028. --
  1029.  
  1030. LOCK TABLES `character_skills` WRITE;
  1031. /*!40000 ALTER TABLE `character_skills` DISABLE KEYS */;
  1032. /*!40000 ALTER TABLE `character_skills` ENABLE KEYS */;
  1033. UNLOCK TABLES;
  1034.  
  1035. --
  1036. -- Table structure for table `character_social`
  1037. --
  1038.  
  1039. DROP TABLE IF EXISTS `character_social`;
  1040. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1041. /*!40101 SET character_set_client = utf8 */;
  1042. CREATE TABLE `character_social` (
  1043.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
  1044.   `friend` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Friend Global Unique Identifier',
  1045.   `flags` tinyint(3) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Friend Flags',
  1046.   `note` VARCHAR(48) NOT NULL DEFAULT '' COMMENT 'Friend Note',
  1047.   PRIMARY KEY (`guid`,`friend`,`flags`),
  1048.   KEY `friend` (`friend`)
  1049. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  1050. /*!40101 SET character_set_client = @saved_cs_client */;
  1051.  
  1052. --
  1053. -- Dumping data for table `character_social`
  1054. --
  1055.  
  1056. LOCK TABLES `character_social` WRITE;
  1057. /*!40000 ALTER TABLE `character_social` DISABLE KEYS */;
  1058. /*!40000 ALTER TABLE `character_social` ENABLE KEYS */;
  1059. UNLOCK TABLES;
  1060.  
  1061. --
  1062. -- Table structure for table `character_spell`
  1063. --
  1064.  
  1065. DROP TABLE IF EXISTS `character_spell`;
  1066. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1067. /*!40101 SET character_set_client = utf8 */;
  1068. CREATE TABLE `character_spell` (
  1069.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  1070.   `spell` mediumint(8) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Spell Identifier',
  1071.   `active` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
  1072.   `disabled` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1073.   PRIMARY KEY (`guid`,`spell`)
  1074. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  1075. /*!40101 SET character_set_client = @saved_cs_client */;
  1076.  
  1077. --
  1078. -- Dumping data for table `character_spell`
  1079. --
  1080.  
  1081. LOCK TABLES `character_spell` WRITE;
  1082. /*!40000 ALTER TABLE `character_spell` DISABLE KEYS */;
  1083. /*!40000 ALTER TABLE `character_spell` ENABLE KEYS */;
  1084. UNLOCK TABLES;
  1085.  
  1086. --
  1087. -- Table structure for table `character_spell_cooldown`
  1088. --
  1089.  
  1090. DROP TABLE IF EXISTS `character_spell_cooldown`;
  1091. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1092. /*!40101 SET character_set_client = utf8 */;
  1093. CREATE TABLE `character_spell_cooldown` (
  1094.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part',
  1095.   `spell` mediumint(8) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Spell Identifier',
  1096.   `item` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Item Identifier',
  1097.   `time` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1098.   PRIMARY KEY (`guid`,`spell`)
  1099. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1100. /*!40101 SET character_set_client = @saved_cs_client */;
  1101.  
  1102. --
  1103. -- Dumping data for table `character_spell_cooldown`
  1104. --
  1105.  
  1106. LOCK TABLES `character_spell_cooldown` WRITE;
  1107. /*!40000 ALTER TABLE `character_spell_cooldown` DISABLE KEYS */;
  1108. /*!40000 ALTER TABLE `character_spell_cooldown` ENABLE KEYS */;
  1109. UNLOCK TABLES;
  1110.  
  1111. --
  1112. -- Table structure for table `character_stats`
  1113. --
  1114.  
  1115. DROP TABLE IF EXISTS `character_stats`;
  1116. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1117. /*!40101 SET character_set_client = utf8 */;
  1118. CREATE TABLE `character_stats` (
  1119.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part',
  1120.   `maxhealth` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1121.   `maxpower1` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1122.   `maxpower2` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1123.   `maxpower3` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1124.   `maxpower4` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1125.   `maxpower5` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1126.   `maxpower6` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1127.   `maxpower7` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1128.   `strength` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1129.   `agility` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1130.   `stamina` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1131.   `intellect` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1132.   `spirit` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1133.   `armor` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1134.   `resHoly` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1135.   `resFire` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1136.   `resNature` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1137.   `resFrost` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1138.   `resShadow` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1139.   `resArcane` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1140.   `blockPct` FLOAT UNSIGNED NOT NULL DEFAULT '0',
  1141.   `dodgePct` FLOAT UNSIGNED NOT NULL DEFAULT '0',
  1142.   `parryPct` FLOAT UNSIGNED NOT NULL DEFAULT '0',
  1143.   `critPct` FLOAT UNSIGNED NOT NULL DEFAULT '0',
  1144.   `rangedCritPct` FLOAT UNSIGNED NOT NULL DEFAULT '0',
  1145.   `spellCritPct` FLOAT UNSIGNED NOT NULL DEFAULT '0',
  1146.   `attackPower` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1147.   `rangedAttackPower` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1148.   `spellPower` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1149.   `resilience` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1150.   PRIMARY KEY (`guid`)
  1151. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1152. /*!40101 SET character_set_client = @saved_cs_client */;
  1153.  
  1154. --
  1155. -- Dumping data for table `character_stats`
  1156. --
  1157.  
  1158. LOCK TABLES `character_stats` WRITE;
  1159. /*!40000 ALTER TABLE `character_stats` DISABLE KEYS */;
  1160. /*!40000 ALTER TABLE `character_stats` ENABLE KEYS */;
  1161. UNLOCK TABLES;
  1162.  
  1163. --
  1164. -- Table structure for table `character_talent`
  1165. --
  1166.  
  1167. DROP TABLE IF EXISTS `character_talent`;
  1168. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1169. /*!40101 SET character_set_client = utf8 */;
  1170. CREATE TABLE `character_talent` (
  1171.   `guid` INT(10) UNSIGNED NOT NULL,
  1172.   `spell` mediumint(8) UNSIGNED NOT NULL,
  1173.   `spec` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1174.   PRIMARY KEY (`guid`,`spell`,`spec`)
  1175. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1176. /*!40101 SET character_set_client = @saved_cs_client */;
  1177.  
  1178. --
  1179. -- Dumping data for table `character_talent`
  1180. --
  1181.  
  1182. LOCK TABLES `character_talent` WRITE;
  1183. /*!40000 ALTER TABLE `character_talent` DISABLE KEYS */;
  1184. /*!40000 ALTER TABLE `character_talent` ENABLE KEYS */;
  1185. UNLOCK TABLES;
  1186.  
  1187. --
  1188. -- Table structure for table `characters`
  1189. --
  1190.  
  1191. DROP TABLE IF EXISTS `characters`;
  1192. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1193. /*!40101 SET character_set_client = utf8 */;
  1194. CREATE TABLE `characters` (
  1195.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  1196.   `account` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
  1197.   `name` VARCHAR(12) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  1198.   `race` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1199.   `class` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1200.   `gender` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1201.   `level` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1202.   `xp` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1203.   `money` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1204.   `playerBytes` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1205.   `playerBytes2` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1206.   `playerFlags` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1207.   `position_x` FLOAT NOT NULL DEFAULT '0',
  1208.   `position_y` FLOAT NOT NULL DEFAULT '0',
  1209.   `position_z` FLOAT NOT NULL DEFAULT '0',
  1210.   `map` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
  1211.   `instance_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1212.   `instance_mode_mask` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1213.   `orientation` FLOAT NOT NULL DEFAULT '0',
  1214.   `taximask` text NOT NULL,
  1215.   `online` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1216.   `cinematic` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1217.   `totaltime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1218.   `leveltime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1219.   `logout_time` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1220.   `is_logout_resting` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1221.   `rest_bonus` FLOAT NOT NULL DEFAULT '0',
  1222.   `resettalents_cost` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1223.   `resettalents_time` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1224.   `trans_x` FLOAT NOT NULL DEFAULT '0',
  1225.   `trans_y` FLOAT NOT NULL DEFAULT '0',
  1226.   `trans_z` FLOAT NOT NULL DEFAULT '0',
  1227.   `trans_o` FLOAT NOT NULL DEFAULT '0',
  1228.   `transguid` mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
  1229.   `extra_flags` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  1230.   `stable_slots` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1231.   `at_login` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  1232.   `zone` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  1233.   `death_expire_time` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1234.   `taxi_path` text,
  1235.   `arenaPoints` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1236.   `totalHonorPoints` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1237.   `todayHonorPoints` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1238.   `yesterdayHonorPoints` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1239.   `totalKills` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1240.   `todayKills` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  1241.   `yesterdayKills` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  1242.   `chosenTitle` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1243.   `knownCurrencies` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
  1244.   `watchedFaction` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1245.   `drunk` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1246.   `health` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1247.   `power1` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1248.   `power2` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1249.   `power3` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1250.   `power4` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1251.   `power5` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1252.   `power6` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1253.   `power7` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1254.   `latency` mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
  1255.   `speccount` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
  1256.   `activespec` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1257.   `exploredZones` longtext,
  1258.   `equipmentCache` longtext,
  1259.   `ammoId` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1260.   `knownTitles` longtext,
  1261.   `actionBars` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1262.   `grantableLevels` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1263.   `deleteInfos_Account` INT(10) UNSIGNED DEFAULT NULL,
  1264.   `deleteInfos_Name` VARCHAR(12) DEFAULT NULL,
  1265.   `deleteDate` INT(10) UNSIGNED DEFAULT NULL,
  1266.   PRIMARY KEY (`guid`),
  1267.   KEY `idx_account` (`account`),
  1268.   KEY `idx_online` (`online`),
  1269.   KEY `idx_name` (`name`)
  1270. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  1271. /*!40101 SET character_set_client = @saved_cs_client */;
  1272.  
  1273. --
  1274. -- Dumping data for table `characters`
  1275. --
  1276.  
  1277. LOCK TABLES `characters` WRITE;
  1278. /*!40000 ALTER TABLE `characters` DISABLE KEYS */;
  1279. /*!40000 ALTER TABLE `characters` ENABLE KEYS */;
  1280. UNLOCK TABLES;
  1281.  
  1282. --
  1283. -- Table structure for table `corpse`
  1284. --
  1285.  
  1286. DROP TABLE IF EXISTS `corpse`;
  1287. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1288. /*!40101 SET character_set_client = utf8 */;
  1289. CREATE TABLE `corpse` (
  1290.   `corpseGuid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  1291.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
  1292.   `posX` FLOAT NOT NULL DEFAULT '0',
  1293.   `posY` FLOAT NOT NULL DEFAULT '0',
  1294.   `posZ` FLOAT NOT NULL DEFAULT '0',
  1295.   `orientation` FLOAT NOT NULL DEFAULT '0',
  1296.   `mapId` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
  1297.   `phaseMask` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '1',
  1298.   `displayId` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1299.   `itemCache` text NOT NULL,
  1300.   `bytes1` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1301.   `bytes2` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1302.   `guildId` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1303.   `flags` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1304.   `dynFlags` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1305.   `time` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1306.   `corpseType` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1307.   `instanceId` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Instance Identifier',
  1308.   PRIMARY KEY (`corpseGuid`),
  1309.   KEY `idx_type` (`corpseType`),
  1310.   KEY `idx_instance` (`instanceId`),
  1311.   KEY `idx_player` (`guid`),
  1312.   KEY `idx_time` (`time`)
  1313. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Death System';
  1314. /*!40101 SET character_set_client = @saved_cs_client */;
  1315.  
  1316. --
  1317. -- Dumping data for table `corpse`
  1318. --
  1319.  
  1320. LOCK TABLES `corpse` WRITE;
  1321. /*!40000 ALTER TABLE `corpse` DISABLE KEYS */;
  1322. /*!40000 ALTER TABLE `corpse` ENABLE KEYS */;
  1323. UNLOCK TABLES;
  1324.  
  1325. --
  1326. -- Table structure for table `creature_respawn`
  1327. --
  1328.  
  1329. DROP TABLE IF EXISTS `creature_respawn`;
  1330. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1331. /*!40101 SET character_set_client = utf8 */;
  1332. CREATE TABLE `creature_respawn` (
  1333.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  1334.   `respawnTime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1335.   `mapId` SMALLINT(10) UNSIGNED NOT NULL DEFAULT '0',
  1336.   `instanceId` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Instance Identifier',
  1337.   PRIMARY KEY (`guid`,`instanceId`),
  1338.   KEY `idx_instance` (`instanceId`)
  1339. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Grid Loading System';
  1340. /*!40101 SET character_set_client = @saved_cs_client */;
  1341.  
  1342. --
  1343. -- Dumping data for table `creature_respawn`
  1344. --
  1345.  
  1346. LOCK TABLES `creature_respawn` WRITE;
  1347. /*!40000 ALTER TABLE `creature_respawn` DISABLE KEYS */;
  1348. /*!40000 ALTER TABLE `creature_respawn` ENABLE KEYS */;
  1349. UNLOCK TABLES;
  1350.  
  1351. --
  1352. -- Table structure for table `game_event_condition_save`
  1353. --
  1354.  
  1355. DROP TABLE IF EXISTS `game_event_condition_save`;
  1356. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1357. /*!40101 SET character_set_client = utf8 */;
  1358. CREATE TABLE `game_event_condition_save` (
  1359.   `eventEntry` tinyint(3) UNSIGNED NOT NULL,
  1360.   `condition_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1361.   `done` FLOAT DEFAULT '0',
  1362.   PRIMARY KEY (`eventEntry`,`condition_id`)
  1363. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1364. /*!40101 SET character_set_client = @saved_cs_client */;
  1365.  
  1366. --
  1367. -- Dumping data for table `game_event_condition_save`
  1368. --
  1369.  
  1370. LOCK TABLES `game_event_condition_save` WRITE;
  1371. /*!40000 ALTER TABLE `game_event_condition_save` DISABLE KEYS */;
  1372. /*!40000 ALTER TABLE `game_event_condition_save` ENABLE KEYS */;
  1373. UNLOCK TABLES;
  1374.  
  1375. --
  1376. -- Table structure for table `game_event_save`
  1377. --
  1378.  
  1379. DROP TABLE IF EXISTS `game_event_save`;
  1380. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1381. /*!40101 SET character_set_client = utf8 */;
  1382. CREATE TABLE `game_event_save` (
  1383.   `eventEntry` tinyint(3) UNSIGNED NOT NULL,
  1384.   `state` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
  1385.   `next_start` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1386.   PRIMARY KEY (`eventEntry`)
  1387. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1388. /*!40101 SET character_set_client = @saved_cs_client */;
  1389.  
  1390. --
  1391. -- Dumping data for table `game_event_save`
  1392. --
  1393.  
  1394. LOCK TABLES `game_event_save` WRITE;
  1395. /*!40000 ALTER TABLE `game_event_save` DISABLE KEYS */;
  1396. /*!40000 ALTER TABLE `game_event_save` ENABLE KEYS */;
  1397. UNLOCK TABLES;
  1398.  
  1399. --
  1400. -- Table structure for table `gameobject_respawn`
  1401. --
  1402.  
  1403. DROP TABLE IF EXISTS `gameobject_respawn`;
  1404. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1405. /*!40101 SET character_set_client = utf8 */;
  1406. CREATE TABLE `gameobject_respawn` (
  1407.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  1408.   `respawnTime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1409.   `mapId` SMALLINT(10) UNSIGNED NOT NULL DEFAULT '0',
  1410.   `instanceId` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Instance Identifier',
  1411.   PRIMARY KEY (`guid`,`instanceId`),
  1412.   KEY `idx_instance` (`instanceId`)
  1413. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Grid Loading System';
  1414. /*!40101 SET character_set_client = @saved_cs_client */;
  1415.  
  1416. --
  1417. -- Dumping data for table `gameobject_respawn`
  1418. --
  1419.  
  1420. LOCK TABLES `gameobject_respawn` WRITE;
  1421. /*!40000 ALTER TABLE `gameobject_respawn` DISABLE KEYS */;
  1422. /*!40000 ALTER TABLE `gameobject_respawn` ENABLE KEYS */;
  1423. UNLOCK TABLES;
  1424.  
  1425. --
  1426. -- Table structure for table `gm_subsurveys`
  1427. --
  1428.  
  1429. DROP TABLE IF EXISTS `gm_subsurveys`;
  1430. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1431. /*!40101 SET character_set_client = utf8 */;
  1432. CREATE TABLE `gm_subsurveys` (
  1433.   `surveyId` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  1434.   `subsurveyId` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1435.   `rank` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1436.   `comment` text NOT NULL,
  1437.   PRIMARY KEY (`surveyId`,`subsurveyId`)
  1438. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  1439. /*!40101 SET character_set_client = @saved_cs_client */;
  1440.  
  1441. --
  1442. -- Dumping data for table `gm_subsurveys`
  1443. --
  1444.  
  1445. LOCK TABLES `gm_subsurveys` WRITE;
  1446. /*!40000 ALTER TABLE `gm_subsurveys` DISABLE KEYS */;
  1447. /*!40000 ALTER TABLE `gm_subsurveys` ENABLE KEYS */;
  1448. UNLOCK TABLES;
  1449.  
  1450. --
  1451. -- Table structure for table `gm_surveys`
  1452. --
  1453.  
  1454. DROP TABLE IF EXISTS `gm_surveys`;
  1455. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1456. /*!40101 SET character_set_client = utf8 */;
  1457. CREATE TABLE `gm_surveys` (
  1458.   `surveyId` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  1459.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1460.   `mainSurvey` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1461.   `overallComment` longtext NOT NULL,
  1462.   `createTime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1463.   PRIMARY KEY (`surveyId`)
  1464. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  1465. /*!40101 SET character_set_client = @saved_cs_client */;
  1466.  
  1467. --
  1468. -- Dumping data for table `gm_surveys`
  1469. --
  1470.  
  1471. LOCK TABLES `gm_surveys` WRITE;
  1472. /*!40000 ALTER TABLE `gm_surveys` DISABLE KEYS */;
  1473. /*!40000 ALTER TABLE `gm_surveys` ENABLE KEYS */;
  1474. UNLOCK TABLES;
  1475.  
  1476. --
  1477. -- Table structure for table `gm_tickets`
  1478. --
  1479.  
  1480. DROP TABLE IF EXISTS `gm_tickets`;
  1481. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1482. /*!40101 SET character_set_client = utf8 */;
  1483. CREATE TABLE `gm_tickets` (
  1484.   `ticketId` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  1485.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier of ticket creator',
  1486.   `name` VARCHAR(12) NOT NULL COMMENT 'Name of ticket creator',
  1487.   `message` text NOT NULL,
  1488.   `createTime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1489.   `mapId` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  1490.   `posX` FLOAT NOT NULL DEFAULT '0',
  1491.   `posY` FLOAT NOT NULL DEFAULT '0',
  1492.   `posZ` FLOAT NOT NULL DEFAULT '0',
  1493.   `lastModifiedTime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1494.   `closedBy` INT(10) NOT NULL DEFAULT '0',
  1495.   `assignedTo` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned',
  1496.   `comment` text NOT NULL,
  1497.   `response` text NOT NULL,
  1498.   `completed` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1499.   `escalated` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1500.   `viewed` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1501.   `haveTicket` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1502.   PRIMARY KEY (`ticketId`)
  1503. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  1504. /*!40101 SET character_set_client = @saved_cs_client */;
  1505.  
  1506. --
  1507. -- Dumping data for table `gm_tickets`
  1508. --
  1509.  
  1510. LOCK TABLES `gm_tickets` WRITE;
  1511. /*!40000 ALTER TABLE `gm_tickets` DISABLE KEYS */;
  1512. /*!40000 ALTER TABLE `gm_tickets` ENABLE KEYS */;
  1513. UNLOCK TABLES;
  1514.  
  1515. --
  1516. -- Table structure for table `group_instance`
  1517. --
  1518.  
  1519. DROP TABLE IF EXISTS `group_instance`;
  1520. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1521. /*!40101 SET character_set_client = utf8 */;
  1522. CREATE TABLE `group_instance` (
  1523.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1524.   `instance` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1525.   `permanent` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1526.   PRIMARY KEY (`guid`,`instance`),
  1527.   KEY `instance` (`instance`)
  1528. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1529. /*!40101 SET character_set_client = @saved_cs_client */;
  1530.  
  1531. --
  1532. -- Dumping data for table `group_instance`
  1533. --
  1534.  
  1535. LOCK TABLES `group_instance` WRITE;
  1536. /*!40000 ALTER TABLE `group_instance` DISABLE KEYS */;
  1537. /*!40000 ALTER TABLE `group_instance` ENABLE KEYS */;
  1538. UNLOCK TABLES;
  1539.  
  1540. --
  1541. -- Table structure for table `group_member`
  1542. --
  1543.  
  1544. DROP TABLE IF EXISTS `group_member`;
  1545. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1546. /*!40101 SET character_set_client = utf8 */;
  1547. CREATE TABLE `group_member` (
  1548.   `guid` INT(10) UNSIGNED NOT NULL,
  1549.   `memberGuid` INT(10) UNSIGNED NOT NULL,
  1550.   `memberFlags` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1551.   `subgroup` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1552.   `roles` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1553.   PRIMARY KEY (`memberGuid`)
  1554. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Groups';
  1555. /*!40101 SET character_set_client = @saved_cs_client */;
  1556.  
  1557. --
  1558. -- Dumping data for table `group_member`
  1559. --
  1560.  
  1561. LOCK TABLES `group_member` WRITE;
  1562. /*!40000 ALTER TABLE `group_member` DISABLE KEYS */;
  1563. /*!40000 ALTER TABLE `group_member` ENABLE KEYS */;
  1564. UNLOCK TABLES;
  1565.  
  1566. --
  1567. -- Table structure for table `groups`
  1568. --
  1569.  
  1570. DROP TABLE IF EXISTS `groups`;
  1571. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1572. /*!40101 SET character_set_client = utf8 */;
  1573. CREATE TABLE `groups` (
  1574.   `guid` INT(10) UNSIGNED NOT NULL,
  1575.   `leaderGuid` INT(10) UNSIGNED NOT NULL,
  1576.   `lootMethod` tinyint(3) UNSIGNED NOT NULL,
  1577.   `looterGuid` INT(10) UNSIGNED NOT NULL,
  1578.   `lootThreshold` tinyint(3) UNSIGNED NOT NULL,
  1579.   `icon1` INT(10) UNSIGNED NOT NULL,
  1580.   `icon2` INT(10) UNSIGNED NOT NULL,
  1581.   `icon3` INT(10) UNSIGNED NOT NULL,
  1582.   `icon4` INT(10) UNSIGNED NOT NULL,
  1583.   `icon5` INT(10) UNSIGNED NOT NULL,
  1584.   `icon6` INT(10) UNSIGNED NOT NULL,
  1585.   `icon7` INT(10) UNSIGNED NOT NULL,
  1586.   `icon8` INT(10) UNSIGNED NOT NULL,
  1587.   `groupType` tinyint(3) UNSIGNED NOT NULL,
  1588.   `difficulty` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1589.   `raiddifficulty` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1590.   PRIMARY KEY (`guid`),
  1591.   KEY `leaderGuid` (`leaderGuid`)
  1592. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Groups';
  1593. /*!40101 SET character_set_client = @saved_cs_client */;
  1594.  
  1595. --
  1596. -- Dumping data for table `groups`
  1597. --
  1598.  
  1599. LOCK TABLES `groups` WRITE;
  1600. /*!40000 ALTER TABLE `groups` DISABLE KEYS */;
  1601. /*!40000 ALTER TABLE `groups` ENABLE KEYS */;
  1602. UNLOCK TABLES;
  1603.  
  1604. --
  1605. -- Table structure for table `guild`
  1606. --
  1607.  
  1608. DROP TABLE IF EXISTS `guild`;
  1609. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1610. /*!40101 SET character_set_client = utf8 */;
  1611. CREATE TABLE `guild` (
  1612.   `guildid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1613.   `name` VARCHAR(24) NOT NULL DEFAULT '',
  1614.   `leaderguid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1615.   `EmblemStyle` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1616.   `EmblemColor` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1617.   `BorderStyle` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1618.   `BorderColor` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1619.   `BackgroundColor` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1620.   `info` text NOT NULL,
  1621.   `motd` VARCHAR(128) NOT NULL DEFAULT '',
  1622.   `createdate` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1623.   `BankMoney` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
  1624.   PRIMARY KEY (`guildid`)
  1625. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
  1626. /*!40101 SET character_set_client = @saved_cs_client */;
  1627.  
  1628. --
  1629. -- Dumping data for table `guild`
  1630. --
  1631.  
  1632. LOCK TABLES `guild` WRITE;
  1633. /*!40000 ALTER TABLE `guild` DISABLE KEYS */;
  1634. /*!40000 ALTER TABLE `guild` ENABLE KEYS */;
  1635. UNLOCK TABLES;
  1636.  
  1637. --
  1638. -- Table structure for table `guild_bank_eventlog`
  1639. --
  1640.  
  1641. DROP TABLE IF EXISTS `guild_bank_eventlog`;
  1642. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1643. /*!40101 SET character_set_client = utf8 */;
  1644. CREATE TABLE `guild_bank_eventlog` (
  1645.   `guildid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Guild Identificator',
  1646.   `LogGuid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Log record identificator - auxiliary column',
  1647.   `TabId` tinyint(3) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Guild bank TabId',
  1648.   `EventType` tinyint(3) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Event type',
  1649.   `PlayerGuid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1650.   `ItemOrMoney` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1651.   `ItemStackCount` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  1652.   `DestTabId` tinyint(3) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Destination Tab Id',
  1653.   `TimeStamp` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Event UNIX time',
  1654.   PRIMARY KEY (`guildid`,`LogGuid`,`TabId`),
  1655.   KEY `guildid_key` (`guildid`),
  1656.   KEY `Idx_PlayerGuid` (`PlayerGuid`),
  1657.   KEY `Idx_LogGuid` (`LogGuid`)
  1658. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1659. /*!40101 SET character_set_client = @saved_cs_client */;
  1660.  
  1661. --
  1662. -- Dumping data for table `guild_bank_eventlog`
  1663. --
  1664.  
  1665. LOCK TABLES `guild_bank_eventlog` WRITE;
  1666. /*!40000 ALTER TABLE `guild_bank_eventlog` DISABLE KEYS */;
  1667. /*!40000 ALTER TABLE `guild_bank_eventlog` ENABLE KEYS */;
  1668. UNLOCK TABLES;
  1669.  
  1670. --
  1671. -- Table structure for table `guild_bank_item`
  1672. --
  1673.  
  1674. DROP TABLE IF EXISTS `guild_bank_item`;
  1675. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1676. /*!40101 SET character_set_client = utf8 */;
  1677. CREATE TABLE `guild_bank_item` (
  1678.   `guildid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1679.   `TabId` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1680.   `SlotId` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1681.   `item_guid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1682.   PRIMARY KEY (`guildid`,`TabId`,`SlotId`),
  1683.   KEY `guildid_key` (`guildid`),
  1684.   KEY `Idx_item_guid` (`item_guid`)
  1685. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1686. /*!40101 SET character_set_client = @saved_cs_client */;
  1687.  
  1688. --
  1689. -- Dumping data for table `guild_bank_item`
  1690. --
  1691.  
  1692. LOCK TABLES `guild_bank_item` WRITE;
  1693. /*!40000 ALTER TABLE `guild_bank_item` DISABLE KEYS */;
  1694. /*!40000 ALTER TABLE `guild_bank_item` ENABLE KEYS */;
  1695. UNLOCK TABLES;
  1696.  
  1697. --
  1698. -- Table structure for table `guild_bank_right`
  1699. --
  1700.  
  1701. DROP TABLE IF EXISTS `guild_bank_right`;
  1702. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1703. /*!40101 SET character_set_client = utf8 */;
  1704. CREATE TABLE `guild_bank_right` (
  1705.   `guildid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1706.   `TabId` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1707.   `rid` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1708.   `gbright` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1709.   `SlotPerDay` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1710.   PRIMARY KEY (`guildid`,`TabId`,`rid`),
  1711.   KEY `guildid_key` (`guildid`)
  1712. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1713. /*!40101 SET character_set_client = @saved_cs_client */;
  1714.  
  1715. --
  1716. -- Dumping data for table `guild_bank_right`
  1717. --
  1718.  
  1719. LOCK TABLES `guild_bank_right` WRITE;
  1720. /*!40000 ALTER TABLE `guild_bank_right` DISABLE KEYS */;
  1721. /*!40000 ALTER TABLE `guild_bank_right` ENABLE KEYS */;
  1722. UNLOCK TABLES;
  1723.  
  1724. --
  1725. -- Table structure for table `guild_bank_tab`
  1726. --
  1727.  
  1728. DROP TABLE IF EXISTS `guild_bank_tab`;
  1729. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1730. /*!40101 SET character_set_client = utf8 */;
  1731. CREATE TABLE `guild_bank_tab` (
  1732.   `guildid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1733.   `TabId` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1734.   `TabName` VARCHAR(16) NOT NULL DEFAULT '',
  1735.   `TabIcon` VARCHAR(100) NOT NULL DEFAULT '',
  1736.   `TabText` VARCHAR(500) DEFAULT NULL,
  1737.   PRIMARY KEY (`guildid`,`TabId`),
  1738.   KEY `guildid_key` (`guildid`)
  1739. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1740. /*!40101 SET character_set_client = @saved_cs_client */;
  1741.  
  1742. --
  1743. -- Dumping data for table `guild_bank_tab`
  1744. --
  1745.  
  1746. LOCK TABLES `guild_bank_tab` WRITE;
  1747. /*!40000 ALTER TABLE `guild_bank_tab` DISABLE KEYS */;
  1748. /*!40000 ALTER TABLE `guild_bank_tab` ENABLE KEYS */;
  1749. UNLOCK TABLES;
  1750.  
  1751. --
  1752. -- Table structure for table `guild_eventlog`
  1753. --
  1754.  
  1755. DROP TABLE IF EXISTS `guild_eventlog`;
  1756. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1757. /*!40101 SET character_set_client = utf8 */;
  1758. CREATE TABLE `guild_eventlog` (
  1759.   `guildid` INT(10) UNSIGNED NOT NULL COMMENT 'Guild Identificator',
  1760.   `LogGuid` INT(10) UNSIGNED NOT NULL COMMENT 'Log record identificator - auxiliary column',
  1761.   `EventType` tinyint(3) UNSIGNED NOT NULL COMMENT 'Event type',
  1762.   `PlayerGuid1` INT(10) UNSIGNED NOT NULL COMMENT 'Player 1',
  1763.   `PlayerGuid2` INT(10) UNSIGNED NOT NULL COMMENT 'Player 2',
  1764.   `NewRank` tinyint(3) UNSIGNED NOT NULL COMMENT 'New rank(in case promotion/demotion)',
  1765.   `TimeStamp` INT(10) UNSIGNED NOT NULL COMMENT 'Event UNIX time',
  1766.   PRIMARY KEY (`guildid`,`LogGuid`),
  1767.   KEY `Idx_PlayerGuid1` (`PlayerGuid1`),
  1768.   KEY `Idx_PlayerGuid2` (`PlayerGuid2`),
  1769.   KEY `Idx_LogGuid` (`LogGuid`)
  1770. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild Eventlog';
  1771. /*!40101 SET character_set_client = @saved_cs_client */;
  1772.  
  1773. --
  1774. -- Dumping data for table `guild_eventlog`
  1775. --
  1776.  
  1777. LOCK TABLES `guild_eventlog` WRITE;
  1778. /*!40000 ALTER TABLE `guild_eventlog` DISABLE KEYS */;
  1779. /*!40000 ALTER TABLE `guild_eventlog` ENABLE KEYS */;
  1780. UNLOCK TABLES;
  1781.  
  1782. --
  1783. -- Table structure for table `guild_member`
  1784. --
  1785.  
  1786. DROP TABLE IF EXISTS `guild_member`;
  1787. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1788. /*!40101 SET character_set_client = utf8 */;
  1789. CREATE TABLE `guild_member` (
  1790.   `guildid` INT(10) UNSIGNED NOT NULL COMMENT 'Guild Identificator',
  1791.   `guid` INT(10) UNSIGNED NOT NULL,
  1792.   `rank` tinyint(3) UNSIGNED NOT NULL,
  1793.   `pnote` VARCHAR(31) NOT NULL DEFAULT '',
  1794.   `offnote` VARCHAR(31) NOT NULL DEFAULT '',
  1795.   UNIQUE KEY `guid_key` (`guid`),
  1796.   KEY `guildid_key` (`guildid`),
  1797.   KEY `guildid_rank_key` (`guildid`,`rank`)
  1798. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
  1799. /*!40101 SET character_set_client = @saved_cs_client */;
  1800.  
  1801. --
  1802. -- Dumping data for table `guild_member`
  1803. --
  1804.  
  1805. LOCK TABLES `guild_member` WRITE;
  1806. /*!40000 ALTER TABLE `guild_member` DISABLE KEYS */;
  1807. /*!40000 ALTER TABLE `guild_member` ENABLE KEYS */;
  1808. UNLOCK TABLES;
  1809.  
  1810. --
  1811. -- Table structure for table `guild_member_withdraw`
  1812. --
  1813.  
  1814. DROP TABLE IF EXISTS `guild_member_withdraw`;
  1815. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1816. /*!40101 SET character_set_client = utf8 */;
  1817. CREATE TABLE IF NOT EXISTS `guild_member_withdraw` (
  1818.   `guid` INT(10) UNSIGNED NOT NULL,
  1819.   `tab0` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1820.   `tab1` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1821.   `tab2` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1822.   `tab3` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1823.   `tab4` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1824.   `tab5` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1825.   `money` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1826.   PRIMARY KEY (`guid`)
  1827. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild Member Daily Withdraws';
  1828. /*!40101 SET character_set_client = @saved_cs_client */;
  1829.  
  1830. --
  1831. -- Dumping data for table `guild_member_withdraw`
  1832. --
  1833.  
  1834. LOCK TABLES `guild_member_withdraw` WRITE;
  1835. /*!40000 ALTER TABLE `guild_member_withdraw` DISABLE KEYS */;
  1836. /*!40000 ALTER TABLE `guild_member_withdraw` ENABLE KEYS */;
  1837. UNLOCK TABLES;
  1838.  
  1839. --
  1840. -- Table structure for table `guild_rank`
  1841. --
  1842.  
  1843. DROP TABLE IF EXISTS `guild_rank`;
  1844. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1845. /*!40101 SET character_set_client = utf8 */;
  1846. CREATE TABLE `guild_rank` (
  1847.   `guildid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1848.   `rid` tinyint(3) UNSIGNED NOT NULL,
  1849.   `rname` VARCHAR(20) NOT NULL DEFAULT '',
  1850.   `rights` mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
  1851.   `BankMoneyPerDay` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1852.   PRIMARY KEY (`guildid`,`rid`),
  1853.   KEY `Idx_rid` (`rid`)
  1854. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
  1855. /*!40101 SET character_set_client = @saved_cs_client */;
  1856.  
  1857. --
  1858. -- Dumping data for table `guild_rank`
  1859. --
  1860.  
  1861. LOCK TABLES `guild_rank` WRITE;
  1862. /*!40000 ALTER TABLE `guild_rank` DISABLE KEYS */;
  1863. /*!40000 ALTER TABLE `guild_rank` ENABLE KEYS */;
  1864. UNLOCK TABLES;
  1865.  
  1866. --
  1867. -- Table structure for table `instance`
  1868. --
  1869.  
  1870. DROP TABLE IF EXISTS `instance`;
  1871. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1872. /*!40101 SET character_set_client = utf8 */;
  1873. CREATE TABLE `instance` (
  1874.   `id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1875.   `map` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  1876.   `resettime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1877.   `difficulty` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1878.   `completedEncounters` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1879.   `data` tinytext NOT NULL,
  1880.   PRIMARY KEY (`id`),
  1881.   KEY `map` (`map`),
  1882.   KEY `resettime` (`resettime`),
  1883.   KEY `difficulty` (`difficulty`)
  1884. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1885. /*!40101 SET character_set_client = @saved_cs_client */;
  1886.  
  1887. --
  1888. -- Dumping data for table `instance`
  1889. --
  1890.  
  1891. LOCK TABLES `instance` WRITE;
  1892. /*!40000 ALTER TABLE `instance` DISABLE KEYS */;
  1893. /*!40000 ALTER TABLE `instance` ENABLE KEYS */;
  1894. UNLOCK TABLES;
  1895.  
  1896. --
  1897. -- Table structure for table `instance_reset`
  1898. --
  1899.  
  1900. DROP TABLE IF EXISTS `instance_reset`;
  1901. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1902. /*!40101 SET character_set_client = utf8 */;
  1903. CREATE TABLE `instance_reset` (
  1904.   `mapid` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  1905.   `difficulty` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  1906.   `resettime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1907.   PRIMARY KEY (`mapid`,`difficulty`),
  1908.   KEY `difficulty` (`difficulty`)
  1909. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1910. /*!40101 SET character_set_client = @saved_cs_client */;
  1911.  
  1912. --
  1913. -- Dumping data for table `instance_reset`
  1914. --
  1915.  
  1916. LOCK TABLES `instance_reset` WRITE;
  1917. /*!40000 ALTER TABLE `instance_reset` DISABLE KEYS */;
  1918. /*!40000 ALTER TABLE `instance_reset` ENABLE KEYS */;
  1919. UNLOCK TABLES;
  1920.  
  1921. --
  1922. -- Table structure for table `item_instance`
  1923. --
  1924.  
  1925. DROP TABLE IF EXISTS `item_instance`;
  1926. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1927. /*!40101 SET character_set_client = utf8 */;
  1928. CREATE TABLE `item_instance` (
  1929.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1930.   `itemEntry` mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
  1931.   `owner_guid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1932.   `creatorGuid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1933.   `giftCreatorGuid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1934.   `count` INT(10) UNSIGNED NOT NULL DEFAULT '1',
  1935.   `duration` INT(10) NOT NULL DEFAULT '0',
  1936.   `charges` tinytext,
  1937.   `flags` mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
  1938.   `enchantments` text NOT NULL,
  1939.   `randomPropertyId` SMALLINT(5) NOT NULL DEFAULT '0',
  1940.   `durability` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  1941.   `playedTime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  1942.   `text` text,
  1943.   PRIMARY KEY (`guid`),
  1944.   KEY `idx_owner_guid` (`owner_guid`)
  1945. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Item System';
  1946. /*!40101 SET character_set_client = @saved_cs_client */;
  1947.  
  1948. --
  1949. -- Dumping data for table `item_instance`
  1950. --
  1951.  
  1952. LOCK TABLES `item_instance` WRITE;
  1953. /*!40000 ALTER TABLE `item_instance` DISABLE KEYS */;
  1954. /*!40000 ALTER TABLE `item_instance` ENABLE KEYS */;
  1955. UNLOCK TABLES;
  1956.  
  1957. --
  1958. -- Table structure for table `item_loot_items`
  1959. --
  1960.  
  1961. DROP TABLE IF EXISTS `item_loot_items`;
  1962. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1963. /*!40101 SET character_set_client = utf8 */;
  1964. CREATE TABLE `item_loot_items` (
  1965.   `container_id` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'guid of container (item_instance.guid)',
  1966.   `item_id` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'loot item entry (item_instance.itemEntry)',
  1967.   `item_count` INT(10) NOT NULL DEFAULT '0' COMMENT 'stack size',
  1968.   `follow_rules` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'follow loot rules',
  1969.   `ffa` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'free-for-all',
  1970.   `blocked` tinyint(1) NOT NULL DEFAULT '0',
  1971.   `counted` tinyint(1) NOT NULL DEFAULT '0',
  1972.   `under_threshold` tinyint(1) NOT NULL DEFAULT '0',
  1973.   `needs_quest` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'quest drop',
  1974.   `rnd_prop` INT(10) NOT NULL DEFAULT '0' COMMENT 'random enchantment added when originally rolled',
  1975.   `rnd_suffix` INT(10) NOT NULL DEFAULT '0' COMMENT 'random suffix added when originally rolled'
  1976. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  1977. /*!40101 SET character_set_client = @saved_cs_client */;
  1978.  
  1979. --
  1980. -- Table structure for table `item_loot_money`
  1981. --
  1982.  
  1983. DROP TABLE IF EXISTS `item_loot_money`;
  1984. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1985. /*!40101 SET character_set_client = utf8 */;
  1986. CREATE TABLE `item_loot_money` (
  1987.   `container_id` INT(10) NOT NULL DEFAULT '0' COMMENT 'guid of container (item_instance.guid)',
  1988.   `money` INT(10) NOT NULL DEFAULT '0' COMMENT 'money loot (in copper)'
  1989. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  1990. /*!40101 SET character_set_client = @saved_cs_client */;
  1991.  
  1992. --
  1993. -- Table structure for table `item_refund_instance`
  1994. --
  1995.  
  1996. DROP TABLE IF EXISTS `item_refund_instance`;
  1997. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  1998. /*!40101 SET character_set_client = utf8 */;
  1999. CREATE TABLE `item_refund_instance` (
  2000.   `item_guid` INT(10) UNSIGNED NOT NULL COMMENT 'Item GUID',
  2001.   `player_guid` INT(10) UNSIGNED NOT NULL COMMENT 'Player GUID',
  2002.   `paidMoney` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2003.   `paidExtendedCost` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  2004.   PRIMARY KEY (`item_guid`,`player_guid`)
  2005. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Item Refund System';
  2006. /*!40101 SET character_set_client = @saved_cs_client */;
  2007.  
  2008. --
  2009. -- Dumping data for table `item_refund_instance`
  2010. --
  2011.  
  2012. LOCK TABLES `item_refund_instance` WRITE;
  2013. /*!40000 ALTER TABLE `item_refund_instance` DISABLE KEYS */;
  2014. /*!40000 ALTER TABLE `item_refund_instance` ENABLE KEYS */;
  2015. UNLOCK TABLES;
  2016.  
  2017. --
  2018. -- Table structure for table `item_soulbound_trade_data`
  2019. --
  2020.  
  2021. DROP TABLE IF EXISTS `item_soulbound_trade_data`;
  2022. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  2023. /*!40101 SET character_set_client = utf8 */;
  2024. CREATE TABLE `item_soulbound_trade_data` (
  2025.   `itemGuid` INT(10) UNSIGNED NOT NULL COMMENT 'Item GUID',
  2026.   `allowedPlayers` text NOT NULL COMMENT 'Space separated GUID list of players who can receive this item in trade',
  2027.   PRIMARY KEY (`itemGuid`)
  2028. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Item Refund System';
  2029. /*!40101 SET character_set_client = @saved_cs_client */;
  2030.  
  2031. --
  2032. -- Dumping data for table `item_soulbound_trade_data`
  2033. --
  2034.  
  2035. LOCK TABLES `item_soulbound_trade_data` WRITE;
  2036. /*!40000 ALTER TABLE `item_soulbound_trade_data` DISABLE KEYS */;
  2037. /*!40000 ALTER TABLE `item_soulbound_trade_data` ENABLE KEYS */;
  2038. UNLOCK TABLES;
  2039.  
  2040. --
  2041. -- Table structure for table `lag_reports`
  2042. --
  2043.  
  2044. DROP TABLE IF EXISTS `lag_reports`;
  2045. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  2046. /*!40101 SET character_set_client = utf8 */;
  2047. CREATE TABLE `lag_reports` (
  2048.   `reportId` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  2049.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2050.   `lagType` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  2051.   `mapId` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  2052.   `posX` FLOAT NOT NULL DEFAULT '0',
  2053.   `posY` FLOAT NOT NULL DEFAULT '0',
  2054.   `posZ` FLOAT NOT NULL DEFAULT '0',
  2055.   `latency` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2056.   `createTime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2057.   PRIMARY KEY (`reportId`)
  2058. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
  2059. /*!40101 SET character_set_client = @saved_cs_client */;
  2060.  
  2061. --
  2062. -- Dumping data for table `lag_reports`
  2063. --
  2064.  
  2065. LOCK TABLES `lag_reports` WRITE;
  2066. /*!40000 ALTER TABLE `lag_reports` DISABLE KEYS */;
  2067. /*!40000 ALTER TABLE `lag_reports` ENABLE KEYS */;
  2068. UNLOCK TABLES;
  2069.  
  2070. --
  2071. -- Table structure for table `lfg_data`
  2072. --
  2073.  
  2074. DROP TABLE IF EXISTS `lfg_data`;
  2075. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  2076. /*!40101 SET character_set_client = utf8 */;
  2077. CREATE TABLE `lfg_data` (
  2078.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  2079.   `dungeon` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2080.   `state` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  2081.   PRIMARY KEY (`guid`)
  2082. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='LFG Data';
  2083. /*!40101 SET character_set_client = @saved_cs_client */;
  2084.  
  2085. --
  2086. -- Dumping data for table `lfg_data`
  2087. --
  2088.  
  2089. LOCK TABLES `lfg_data` WRITE;
  2090. /*!40000 ALTER TABLE `lfg_data` DISABLE KEYS */;
  2091. /*!40000 ALTER TABLE `lfg_data` ENABLE KEYS */;
  2092. UNLOCK TABLES;
  2093.  
  2094. --
  2095. -- Table structure for table `mail`
  2096. --
  2097.  
  2098. DROP TABLE IF EXISTS `mail`;
  2099. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  2100. /*!40101 SET character_set_client = utf8 */;
  2101. CREATE TABLE `mail` (
  2102.   `id` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Identifier',
  2103.   `messageType` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  2104.   `stationery` tinyint(3) NOT NULL DEFAULT '41',
  2105.   `mailTemplateId` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
  2106.   `sender` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
  2107.   `receiver` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
  2108.   `subject` longtext,
  2109.   `body` longtext,
  2110.   `has_items` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  2111.   `expire_time` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2112.   `deliver_time` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2113.   `money` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2114.   `cod` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2115.   `checked` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  2116.   PRIMARY KEY (`id`),
  2117.   KEY `idx_receiver` (`receiver`)
  2118. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Mail System';
  2119. /*!40101 SET character_set_client = @saved_cs_client */;
  2120.  
  2121. --
  2122. -- Dumping data for table `mail`
  2123. --
  2124.  
  2125. LOCK TABLES `mail` WRITE;
  2126. /*!40000 ALTER TABLE `mail` DISABLE KEYS */;
  2127. /*!40000 ALTER TABLE `mail` ENABLE KEYS */;
  2128. UNLOCK TABLES;
  2129.  
  2130. --
  2131. -- Table structure for table `mail_items`
  2132. --
  2133.  
  2134. DROP TABLE IF EXISTS `mail_items`;
  2135. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  2136. /*!40101 SET character_set_client = utf8 */;
  2137. CREATE TABLE `mail_items` (
  2138.   `mail_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2139.   `item_guid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2140.   `receiver` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
  2141.   PRIMARY KEY (`item_guid`),
  2142.   KEY `idx_receiver` (`receiver`),
  2143.   KEY `idx_mail_id` (`mail_id`)
  2144. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  2145. /*!40101 SET character_set_client = @saved_cs_client */;
  2146.  
  2147. --
  2148. -- Dumping data for table `mail_items`
  2149. --
  2150.  
  2151. LOCK TABLES `mail_items` WRITE;
  2152. /*!40000 ALTER TABLE `mail_items` DISABLE KEYS */;
  2153. /*!40000 ALTER TABLE `mail_items` ENABLE KEYS */;
  2154. UNLOCK TABLES;
  2155.  
  2156. --
  2157. -- Table structure for table `pet_aura`
  2158. --
  2159.  
  2160. DROP TABLE IF EXISTS `pet_aura`;
  2161. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  2162. /*!40101 SET character_set_client = utf8 */;
  2163. CREATE TABLE `pet_aura` (
  2164.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  2165.   `caster_guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier',
  2166.   `spell` mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
  2167.   `effect_mask` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  2168.   `recalculate_mask` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  2169.   `stackcount` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
  2170.   `amount0` mediumint(8) NOT NULL,
  2171.   `amount1` mediumint(8) NOT NULL,
  2172.   `amount2` mediumint(8) NOT NULL,
  2173.   `base_amount0` mediumint(8) NOT NULL,
  2174.   `base_amount1` mediumint(8) NOT NULL,
  2175.   `base_amount2` mediumint(8) NOT NULL,
  2176.   `maxduration` INT(11) NOT NULL DEFAULT '0',
  2177.   `remaintime` INT(11) NOT NULL DEFAULT '0',
  2178.   `remaincharges` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  2179.   PRIMARY KEY (`guid`,`spell`,`effect_mask`)
  2180. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
  2181. /*!40101 SET character_set_client = @saved_cs_client */;
  2182.  
  2183. --
  2184. -- Dumping data for table `pet_aura`
  2185. --
  2186.  
  2187. LOCK TABLES `pet_aura` WRITE;
  2188. /*!40000 ALTER TABLE `pet_aura` DISABLE KEYS */;
  2189. /*!40000 ALTER TABLE `pet_aura` ENABLE KEYS */;
  2190. UNLOCK TABLES;
  2191.  
  2192. --
  2193. -- Table structure for table `pet_spell`
  2194. --
  2195.  
  2196. DROP TABLE IF EXISTS `pet_spell`;
  2197. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  2198. /*!40101 SET character_set_client = utf8 */;
  2199. CREATE TABLE `pet_spell` (
  2200.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
  2201.   `spell` mediumint(8) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Spell Identifier',
  2202.   `active` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  2203.   PRIMARY KEY (`guid`,`spell`)
  2204. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
  2205. /*!40101 SET character_set_client = @saved_cs_client */;
  2206.  
  2207. --
  2208. -- Dumping data for table `pet_spell`
  2209. --
  2210.  
  2211. LOCK TABLES `pet_spell` WRITE;
  2212. /*!40000 ALTER TABLE `pet_spell` DISABLE KEYS */;
  2213. /*!40000 ALTER TABLE `pet_spell` ENABLE KEYS */;
  2214. UNLOCK TABLES;
  2215.  
  2216. --
  2217. -- Table structure for table `pet_spell_cooldown`
  2218. --
  2219.  
  2220. DROP TABLE IF EXISTS `pet_spell_cooldown`;
  2221. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  2222. /*!40101 SET character_set_client = utf8 */;
  2223. CREATE TABLE `pet_spell_cooldown` (
  2224.   `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part',
  2225.   `spell` mediumint(8) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Spell Identifier',
  2226.   `time` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2227.   PRIMARY KEY (`guid`,`spell`)
  2228. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2229. /*!40101 SET character_set_client = @saved_cs_client */;
  2230.  
  2231. --
  2232. -- Dumping data for table `pet_spell_cooldown`
  2233. --
  2234.  
  2235. LOCK TABLES `pet_spell_cooldown` WRITE;
  2236. /*!40000 ALTER TABLE `pet_spell_cooldown` DISABLE KEYS */;
  2237. /*!40000 ALTER TABLE `pet_spell_cooldown` ENABLE KEYS */;
  2238. UNLOCK TABLES;
  2239.  
  2240. --
  2241. -- Table structure for table `petition`
  2242. --
  2243.  
  2244. DROP TABLE IF EXISTS `petition`;
  2245. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  2246. /*!40101 SET character_set_client = utf8 */;
  2247. CREATE TABLE `petition` (
  2248.   `ownerguid` INT(10) UNSIGNED NOT NULL,
  2249.   `petitionguid` INT(10) UNSIGNED DEFAULT '0',
  2250.   `name` VARCHAR(24) NOT NULL,
  2251.   `type` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  2252.   PRIMARY KEY (`ownerguid`,`type`),
  2253.   UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
  2254. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
  2255. /*!40101 SET character_set_client = @saved_cs_client */;
  2256.  
  2257. --
  2258. -- Dumping data for table `petition`
  2259. --
  2260.  
  2261. LOCK TABLES `petition` WRITE;
  2262. /*!40000 ALTER TABLE `petition` DISABLE KEYS */;
  2263. /*!40000 ALTER TABLE `petition` ENABLE KEYS */;
  2264. UNLOCK TABLES;
  2265.  
  2266. --
  2267. -- Table structure for table `petition_sign`
  2268. --
  2269.  
  2270. DROP TABLE IF EXISTS `petition_sign`;
  2271. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  2272. /*!40101 SET character_set_client = utf8 */;
  2273. CREATE TABLE `petition_sign` (
  2274.   `ownerguid` INT(10) UNSIGNED NOT NULL,
  2275.   `petitionguid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2276.   `playerguid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2277.   `player_account` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2278.   `type` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  2279.   PRIMARY KEY (`petitionguid`,`playerguid`),
  2280.   KEY `Idx_playerguid` (`playerguid`),
  2281.   KEY `Idx_ownerguid` (`ownerguid`)
  2282. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
  2283. /*!40101 SET character_set_client = @saved_cs_client */;
  2284.  
  2285. --
  2286. -- Dumping data for table `petition_sign`
  2287. --
  2288.  
  2289. LOCK TABLES `petition_sign` WRITE;
  2290. /*!40000 ALTER TABLE `petition_sign` DISABLE KEYS */;
  2291. /*!40000 ALTER TABLE `petition_sign` ENABLE KEYS */;
  2292. UNLOCK TABLES;
  2293.  
  2294. --
  2295. -- Table structure for table `pool_quest_save`
  2296. --
  2297.  
  2298. DROP TABLE IF EXISTS `pool_quest_save`;
  2299. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  2300. /*!40101 SET character_set_client = utf8 */;
  2301. CREATE TABLE `pool_quest_save` (
  2302.   `pool_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2303.   `quest_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2304.   PRIMARY KEY (`pool_id`,`quest_id`)
  2305. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2306. /*!40101 SET character_set_client = @saved_cs_client */;
  2307.  
  2308. --
  2309. -- Dumping data for table `pool_quest_save`
  2310. --
  2311.  
  2312. LOCK TABLES `pool_quest_save` WRITE;
  2313. /*!40000 ALTER TABLE `pool_quest_save` DISABLE KEYS */;
  2314. /*!40000 ALTER TABLE `pool_quest_save` ENABLE KEYS */;
  2315. UNLOCK TABLES;
  2316.  
  2317. --
  2318. -- Table structure for table `reserved_name`
  2319. --
  2320.  
  2321. DROP TABLE IF EXISTS `reserved_name`;
  2322. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  2323. /*!40101 SET character_set_client = utf8 */;
  2324. CREATE TABLE `reserved_name` (
  2325.   `name` VARCHAR(12) NOT NULL DEFAULT '',
  2326.   PRIMARY KEY (`name`)
  2327. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player Reserved Names';
  2328. /*!40101 SET character_set_client = @saved_cs_client */;
  2329.  
  2330. --
  2331. -- Dumping data for table `reserved_name`
  2332. --
  2333.  
  2334. LOCK TABLES `reserved_name` WRITE;
  2335. /*!40000 ALTER TABLE `reserved_name` DISABLE KEYS */;
  2336. /*!40000 ALTER TABLE `reserved_name` ENABLE KEYS */;
  2337. UNLOCK TABLES;
  2338.  
  2339. --
  2340. -- Table structure for table `warden_action`
  2341. --
  2342.  
  2343. DROP TABLE IF EXISTS `warden_action`;
  2344. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  2345. /*!40101 SET character_set_client = utf8 */;
  2346. CREATE TABLE `warden_action` (
  2347.   `wardenId` SMALLINT(5) UNSIGNED NOT NULL,
  2348.   `action` tinyint(3) UNSIGNED DEFAULT NULL,
  2349.   PRIMARY KEY (`wardenId`)
  2350. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  2351. /*!40101 SET character_set_client = @saved_cs_client */;
  2352.  
  2353. --
  2354. -- Dumping data for table `warden_action`
  2355. --
  2356.  
  2357. LOCK TABLES `warden_action` WRITE;
  2358. /*!40000 ALTER TABLE `warden_action` DISABLE KEYS */;
  2359. /*!40000 ALTER TABLE `warden_action` ENABLE KEYS */;
  2360. UNLOCK TABLES;
  2361.  
  2362. --
  2363. -- Table structure for table `worldstates`
  2364. --
  2365.  
  2366. DROP TABLE IF EXISTS `worldstates`;
  2367. /*!40101 SET @saved_cs_client     = @@character_set_client */;
  2368. /*!40101 SET character_set_client = utf8 */;
  2369. CREATE TABLE `worldstates` (
  2370.   `entry` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2371.   `value` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  2372.   `comment` tinytext,
  2373.   PRIMARY KEY (`entry`)
  2374. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Variable Saves';
  2375. /*!40101 SET character_set_client = @saved_cs_client */;
  2376.  
  2377. --
  2378. -- Dumping data for table `worldstates`
  2379. --
  2380.  
  2381. LOCK TABLES `worldstates` WRITE;
  2382. /*!40000 ALTER TABLE `worldstates` DISABLE KEYS */;
  2383. INSERT INTO `worldstates` VALUES (20001,0,'NextArenaPointDistributionTime'),(20002,0,'NextWeeklyQuestResetTime'),(20003,0,'NextBGRandomDailyResetTime'),(20004,0,'cleaning_flags');
  2384. /*!40000 ALTER TABLE `worldstates` ENABLE KEYS */;
  2385. UNLOCK TABLES;
  2386. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  2387.  
  2388. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  2389. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  2390. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  2391. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  2392. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  2393. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  2394. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  2395.  
  2396. -- Dump completed on 2012-09-08 15:27:29
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement