Advertisement
julienanid

Characters Database

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