3 -- Host: localhost Database: characters
4 -- ------------------------------------------------------
5 -- Server version 5.0.45-Debian_1ubuntu3.1-log
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 */;
19 -- Table structure for table `character_db_version`
22 DROP TABLE IF EXISTS `character_db_version`;
23 CREATE TABLE `character_db_version` (
24 `required_9136_07_characters_characters` bit(1) default NULL
25 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
28 -- Dumping data for table `character_db_version`
31 LOCK TABLES `character_db_version` WRITE;
32 /*!40000 ALTER TABLE `character_db_version` DISABLE KEYS */;
33 INSERT INTO `character_db_version` VALUES
35 /*!40000 ALTER TABLE `character_db_version` ENABLE KEYS */;
39 -- Table structure for table `account_data`
42 DROP TABLE IF EXISTS `account_data`;
43 CREATE TABLE `account_data` (
44 `account` int(11) unsigned NOT NULL default '0',
45 `type` int(11) unsigned NOT NULL default '0',
46 `time` bigint(11) unsigned NOT NULL default '0',
47 `data` longblob NOT NULL,
48 PRIMARY KEY (`account`,`type`)
49 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
52 -- Dumping data for table `account_data`
55 LOCK TABLES `account_data` WRITE;
56 /*!40000 ALTER TABLE `account_data` DISABLE KEYS */;
57 /*!40000 ALTER TABLE `account_data` ENABLE KEYS */;
61 -- Table structure for table `arena_team`
64 DROP TABLE IF EXISTS `arena_team`;
65 CREATE TABLE `arena_team` (
66 `arenateamid` int(10) unsigned NOT NULL default '0',
67 `name` char(255) NOT NULL,
68 `captainguid` int(10) unsigned NOT NULL default '0',
69 `type` tinyint(3) unsigned NOT NULL default '0',
70 `BackgroundColor` int(10) unsigned NOT NULL default '0',
71 `EmblemStyle` int(10) unsigned NOT NULL default '0',
72 `EmblemColor` int(10) unsigned NOT NULL default '0',
73 `BorderStyle` int(10) unsigned NOT NULL default '0',
74 `BorderColor` int(10) unsigned NOT NULL default '0',
75 PRIMARY KEY (`arenateamid`)
76 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
79 -- Dumping data for table `arena_team`
82 LOCK TABLES `arena_team` WRITE;
83 /*!40000 ALTER TABLE `arena_team` DISABLE KEYS */;
84 /*!40000 ALTER TABLE `arena_team` ENABLE KEYS */;
88 -- Table structure for table `arena_team_member`
91 DROP TABLE IF EXISTS `arena_team_member`;
92 CREATE TABLE `arena_team_member` (
93 `arenateamid` int(10) unsigned NOT NULL default '0',
94 `guid` int(10) unsigned NOT NULL default '0',
95 `played_week` int(10) unsigned NOT NULL default '0',
96 `wons_week` int(10) unsigned NOT NULL default '0',
97 `played_season` int(10) unsigned NOT NULL default '0',
98 `wons_season` int(10) unsigned NOT NULL default '0',
99 `personal_rating` int(10) UNSIGNED NOT NULL DEFAULT '0',
100 PRIMARY KEY (`arenateamid`,`guid`)
101 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
104 -- Dumping data for table `arena_team_member`
107 LOCK TABLES `arena_team_member` WRITE;
108 /*!40000 ALTER TABLE `arena_team_member` DISABLE KEYS */;
109 /*!40000 ALTER TABLE `arena_team_member` ENABLE KEYS */;
113 -- Table structure for table `arena_team_stats`
116 DROP TABLE IF EXISTS `arena_team_stats`;
117 CREATE TABLE `arena_team_stats` (
118 `arenateamid` int(10) unsigned NOT NULL default '0',
119 `rating` int(10) unsigned NOT NULL default '0',
120 `games` int(10) unsigned NOT NULL default '0',
121 `wins` int(10) unsigned NOT NULL default '0',
122 `played` int(10) unsigned NOT NULL default '0',
123 `wins2` int(10) unsigned NOT NULL default '0',
124 `rank` int(10) unsigned NOT NULL default '0',
125 PRIMARY KEY (`arenateamid`)
126 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
129 -- Dumping data for table `arena_team_stats`
132 LOCK TABLES `arena_team_stats` WRITE;
133 /*!40000 ALTER TABLE `arena_team_stats` DISABLE KEYS */;
134 /*!40000 ALTER TABLE `arena_team_stats` ENABLE KEYS */;
138 -- Table structure for table `auctionhouse`
141 DROP TABLE IF EXISTS `auctionhouse`;
142 CREATE TABLE `auctionhouse` (
143 `id` int(11) unsigned NOT NULL default '0',
144 `auctioneerguid` int(11) unsigned NOT NULL default '0',
145 `itemguid` int(11) unsigned NOT NULL default '0',
146 `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
147 `itemowner` int(11) unsigned NOT NULL default '0',
148 `buyoutprice` int(11) NOT NULL default '0',
149 `time` bigint(40) NOT NULL default '0',
150 `buyguid` int(11) unsigned NOT NULL default '0',
151 `lastbid` int(11) NOT NULL default '0',
152 `startbid` int(11) NOT NULL default '0',
153 `deposit` int(11) NOT NULL default '0',
155 UNIQUE KEY `item_guid` (`itemguid`)
156 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
159 -- Dumping data for table `auctionhouse`
162 LOCK TABLES `auctionhouse` WRITE;
163 /*!40000 ALTER TABLE `auctionhouse` DISABLE KEYS */;
164 /*!40000 ALTER TABLE `auctionhouse` ENABLE KEYS */;
168 -- Table structure for table `bugreport`
171 DROP TABLE IF EXISTS `bugreport`;
172 CREATE TABLE `bugreport` (
173 `id` int(11) NOT NULL auto_increment COMMENT 'Identifier',
174 `type` longtext NOT NULL default '',
175 `content` longtext NOT NULL default '',
177 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Debug System';
180 -- Dumping data for table `bugreport`
183 LOCK TABLES `bugreport` WRITE;
184 /*!40000 ALTER TABLE `bugreport` DISABLE KEYS */;
185 /*!40000 ALTER TABLE `bugreport` ENABLE KEYS */;
189 -- Table structure for table `characters`
192 DROP TABLE IF EXISTS `characters`;
193 CREATE TABLE `characters` (
194 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
195 `account` int(11) unsigned NOT NULL default '0' COMMENT 'Account Identifier',
197 `name` varchar(12) NOT NULL default '',
198 `race` tinyint(3) unsigned NOT NULL default '0',
199 `class` tinyint(3) unsigned NOT NULL default '0',
200 `gender` TINYINT UNSIGNED NOT NULL default '0',
201 `level` TINYINT UNSIGNED NOT NULL default '0',
202 `xp` INT UNSIGNED NOT NULL default '0',
203 `money` INT UNSIGNED NOT NULL default '0',
204 `playerBytes` INT UNSIGNED NOT NULL default '0',
205 `playerBytes2` INT UNSIGNED NOT NULL default '0',
206 `playerFlags` INT UNSIGNED NOT NULL default '0',
207 `position_x` float NOT NULL default '0',
208 `position_y` float NOT NULL default '0',
209 `position_z` float NOT NULL default '0',
210 `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
211 `dungeon_difficulty` tinyint(1) unsigned NOT NULL DEFAULT '0',
212 `orientation` float NOT NULL default '0',
214 `online` tinyint(3) unsigned NOT NULL default '0',
215 `cinematic` tinyint(3) unsigned NOT NULL default '0',
216 `totaltime` int(11) unsigned NOT NULL default '0',
217 `leveltime` int(11) unsigned NOT NULL default '0',
218 `logout_time` bigint(20) unsigned NOT NULL default '0',
219 `is_logout_resting` tinyint(3) unsigned NOT NULL default '0',
220 `rest_bonus` float NOT NULL default '0',
221 `resettalents_cost` int(11) unsigned NOT NULL default '0',
222 `resettalents_time` bigint(20) unsigned NOT NULL default '0',
223 `trans_x` float NOT NULL default '0',
224 `trans_y` float NOT NULL default '0',
225 `trans_z` float NOT NULL default '0',
226 `trans_o` float NOT NULL default '0',
227 `transguid` bigint(20) unsigned NOT NULL default '0',
228 `extra_flags` int(11) unsigned NOT NULL default '0',
229 `stable_slots` tinyint(1) unsigned NOT NULL default '0',
230 `at_login` int(11) unsigned NOT NULL default '0',
231 `zone` int(11) unsigned NOT NULL default '0',
232 `death_expire_time` bigint(20) unsigned NOT NULL default '0',
234 `arena_pending_points` int(10) UNSIGNED NOT NULL default '0',
235 PRIMARY KEY (`guid`),
236 KEY `idx_account` (`account`),
237 KEY `idx_online` (`online`),
238 KEY `idx_name` (`name`)
239 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
242 -- Dumping data for table `characters`
245 LOCK TABLES `characters` WRITE;
246 /*!40000 ALTER TABLE `characters` DISABLE KEYS */;
247 /*!40000 ALTER TABLE `characters` ENABLE KEYS */;
251 -- Table structure for table `character_account_data`
254 DROP TABLE IF EXISTS `character_account_data`;
255 CREATE TABLE `character_account_data` (
256 `guid` int(11) unsigned NOT NULL default '0',
257 `type` int(11) unsigned NOT NULL default '0',
258 `time` bigint(11) unsigned NOT NULL default '0',
259 `data` longblob NOT NULL,
260 PRIMARY KEY (`guid`,`type`)
261 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
264 -- Dumping data for table `character_account_data`
267 LOCK TABLES `character_account_data` WRITE;
268 /*!40000 ALTER TABLE `character_account_data` DISABLE KEYS */;
269 /*!40000 ALTER TABLE `character_account_data` ENABLE KEYS */;
273 -- Table structure for table `character_achievement`
276 DROP TABLE IF EXISTS `character_achievement`;
277 CREATE TABLE `character_achievement` (
278 `guid` int(11) unsigned NOT NULL,
279 `achievement` int(11) unsigned NOT NULL,
280 `date` bigint(11) unsigned NOT NULL default '0',
281 PRIMARY KEY (`guid`,`achievement`)
282 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
285 -- Dumping data for table `character_achievement`
288 LOCK TABLES `character_achievement` WRITE;
289 /*!40000 ALTER TABLE `character_achievement` DISABLE KEYS */;
290 /*!40000 ALTER TABLE `character_achievement` ENABLE KEYS */;
294 -- Table structure for table `character_achievement_progress`
297 DROP TABLE IF EXISTS `character_achievement_progress`;
298 CREATE TABLE `character_achievement_progress` (
299 `guid` int(11) unsigned NOT NULL,
300 `criteria` int(11) unsigned NOT NULL,
301 `counter` int(11) unsigned NOT NULL,
302 `date` bigint(11) unsigned NOT NULL default '0',
303 PRIMARY KEY (`guid`,`criteria`)
304 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
307 -- Dumping data for table `character_achievement_progress`
310 LOCK TABLES `character_achievement_progress` WRITE;
311 /*!40000 ALTER TABLE `character_achievement_progress` DISABLE KEYS */;
312 /*!40000 ALTER TABLE `character_achievement_progress` ENABLE KEYS */;
316 -- Table structure for table `character_action`
319 DROP TABLE IF EXISTS `character_action`;
320 CREATE TABLE `character_action` (
321 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
322 `button` tinyint(3) unsigned NOT NULL default '0',
323 `action` int(11) unsigned NOT NULL default '0',
324 `type` tinyint(3) unsigned NOT NULL default '0',
325 PRIMARY KEY (`guid`,`button`)
326 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
329 -- Dumping data for table `character_action`
332 LOCK TABLES `character_action` WRITE;
333 /*!40000 ALTER TABLE `character_action` DISABLE KEYS */;
334 /*!40000 ALTER TABLE `character_action` ENABLE KEYS */;
338 -- Table structure for table `character_aura`
341 DROP TABLE IF EXISTS `character_aura`;
342 CREATE TABLE `character_aura` (
343 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
344 `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier',
345 `spell` int(11) unsigned NOT NULL default '0',
346 `effect_index` int(11) unsigned NOT NULL default '0',
347 `stackcount` int(11) NOT NULL default '1',
348 `amount` int(11) NOT NULL default '0',
349 `maxduration` int(11) NOT NULL default '0',
350 `remaintime` int(11) NOT NULL default '0',
351 `remaincharges` int(11) NOT NULL default '0',
352 PRIMARY KEY (`guid`,`spell`,`effect_index`)
353 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
356 -- Dumping data for table `character_aura`
359 LOCK TABLES `character_aura` WRITE;
360 /*!40000 ALTER TABLE `character_aura` DISABLE KEYS */;
361 /*!40000 ALTER TABLE `character_aura` ENABLE KEYS */;
365 -- Table structure for table `character_battleground_data`
368 DROP TABLE IF EXISTS `character_battleground_data`;
369 CREATE TABLE `character_battleground_data` (
370 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
371 `instance_id` int(11) unsigned NOT NULL default '0',
372 `team` int(11) unsigned NOT NULL default '0',
373 `join_x` float NOT NULL default '0',
374 `join_y` float NOT NULL default '0',
375 `join_z` float NOT NULL default '0',
376 `join_o` float NOT NULL default '0',
377 `join_map` int(11) NOT NULL default '0',
378 `taxi_start` int(11) NOT NULL default '0',
379 `taxi_end` int(11) NOT NULL default '0',
380 `mount_spell` int(11) NOT NULL default '0',
382 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
385 -- Dumping data for table `character_battleground_data`
388 LOCK TABLES `character_battleground_data` WRITE;
389 /*!40000 ALTER TABLE `character_battleground_data` DISABLE KEYS */;
390 /*!40000 ALTER TABLE `character_battleground_data` ENABLE KEYS */;
394 -- Table structure for table `character_declinedname`
397 DROP TABLE IF EXISTS `character_declinedname`;
398 CREATE TABLE `character_declinedname` (
399 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
400 `genitive` varchar(15) NOT NULL default '',
401 `dative` varchar(15) NOT NULL default '',
402 `accusative` varchar(15) NOT NULL default '',
403 `instrumental` varchar(15) NOT NULL default '',
404 `prepositional` varchar(15) NOT NULL default '',
406 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
409 -- Dumping data for table `character_declinedname`
412 LOCK TABLES `character_declinedname` WRITE;
413 /*!40000 ALTER TABLE `character_declinedname` DISABLE KEYS */;
414 /*!40000 ALTER TABLE `character_declinedname` ENABLE KEYS */;
418 -- Table structure for table `character_equipmentsets`
421 DROP TABLE IF EXISTS `character_equipmentsets`;
422 CREATE TABLE `character_equipmentsets` (
423 `guid` int(11) NOT NULL default '0',
424 `setguid` bigint(20) NOT NULL auto_increment,
425 `setindex` tinyint(4) NOT NULL default '0',
426 `name` varchar(100) NOT NULL,
427 `iconname` varchar(100) NOT NULL,
428 `item0` int(11) NOT NULL default '0',
429 `item1` int(11) NOT NULL default '0',
430 `item2` int(11) NOT NULL default '0',
431 `item3` int(11) NOT NULL default '0',
432 `item4` int(11) NOT NULL default '0',
433 `item5` int(11) NOT NULL default '0',
434 `item6` int(11) NOT NULL default '0',
435 `item7` int(11) NOT NULL default '0',
436 `item8` int(11) NOT NULL default '0',
437 `item9` int(11) NOT NULL default '0',
438 `item10` int(11) NOT NULL default '0',
439 `item11` int(11) NOT NULL default '0',
440 `item12` int(11) NOT NULL default '0',
441 `item13` int(11) NOT NULL default '0',
442 `item14` int(11) NOT NULL default '0',
443 `item15` int(11) NOT NULL default '0',
444 `item16` int(11) NOT NULL default '0',
445 `item17` int(11) NOT NULL default '0',
446 `item18` int(11) NOT NULL default '0',
447 PRIMARY KEY (`setguid`),
448 UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`)
449 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
452 -- Dumping data for table `character_equipmentsets`
455 LOCK TABLES `character_equipmentsets` WRITE;
456 /*!40000 ALTER TABLE `character_equipmentsets` DISABLE KEYS */;
457 /*!40000 ALTER TABLE `character_equipmentsets` ENABLE KEYS */;
461 -- Table structure for table `character_gifts`
464 DROP TABLE IF EXISTS `character_gifts`;
465 CREATE TABLE `character_gifts` (
466 `guid` int(20) unsigned NOT NULL default '0',
467 `item_guid` int(11) unsigned NOT NULL default '0',
468 `entry` int(20) unsigned NOT NULL default '0',
469 `flags` int(20) unsigned NOT NULL default '0',
470 PRIMARY KEY (`item_guid`),
471 KEY `idx_guid` (`guid`)
472 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
475 -- Dumping data for table `character_gifts`
478 LOCK TABLES `character_gifts` WRITE;
479 /*!40000 ALTER TABLE `character_gifts` DISABLE KEYS */;
480 /*!40000 ALTER TABLE `character_gifts` ENABLE KEYS */;
484 -- Table structure for table `character_homebind`
487 DROP TABLE IF EXISTS `character_homebind`;
488 CREATE TABLE `character_homebind` (
489 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
490 `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
491 `zone` int(11) unsigned NOT NULL default '0' COMMENT 'Zone Identifier',
492 `position_x` float NOT NULL default '0',
493 `position_y` float NOT NULL default '0',
494 `position_z` float NOT NULL default '0',
496 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
499 -- Dumping data for table `character_homebind`
502 LOCK TABLES `character_homebind` WRITE;
503 /*!40000 ALTER TABLE `character_homebind` DISABLE KEYS */;
504 /*!40000 ALTER TABLE `character_homebind` ENABLE KEYS */;
508 -- Table structure for table `character_instance`
511 DROP TABLE IF EXISTS `character_instance`;
512 CREATE TABLE `character_instance` (
513 `guid` int(11) unsigned NOT NULL default '0',
514 `instance` int(11) unsigned NOT NULL default '0',
515 `permanent` tinyint(1) unsigned NOT NULL default '0',
516 PRIMARY KEY (`guid`,`instance`),
517 KEY `instance` (`instance`)
518 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
521 -- Dumping data for table `character_instance`
524 LOCK TABLES `character_instance` WRITE;
525 /*!40000 ALTER TABLE `character_instance` DISABLE KEYS */;
526 /*!40000 ALTER TABLE `character_instance` ENABLE KEYS */;
530 -- Table structure for table `character_inventory`
533 DROP TABLE IF EXISTS `character_inventory`;
534 CREATE TABLE `character_inventory` (
535 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
536 `bag` int(11) unsigned NOT NULL default '0',
537 `slot` tinyint(3) unsigned NOT NULL default '0',
538 `item` int(11) unsigned NOT NULL default '0' COMMENT 'Item Global Unique Identifier',
539 `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
540 PRIMARY KEY (`item`),
541 KEY `idx_guid` (`guid`)
542 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
545 -- Dumping data for table `character_inventory`
548 LOCK TABLES `character_inventory` WRITE;
549 /*!40000 ALTER TABLE `character_inventory` DISABLE KEYS */;
550 /*!40000 ALTER TABLE `character_inventory` ENABLE KEYS */;
554 -- Table structure for table `character_pet`
557 DROP TABLE IF EXISTS `character_pet`;
558 CREATE TABLE `character_pet` (
559 `id` int(11) unsigned NOT NULL default '0',
560 `entry` int(11) unsigned NOT NULL default '0',
561 `owner` int(11) unsigned NOT NULL default '0',
562 `modelid` int(11) unsigned default '0',
563 `CreatedBySpell` int(11) unsigned NOT NULL default '0',
564 `PetType` tinyint(3) unsigned NOT NULL default '0',
565 `level` int(11) unsigned NOT NULL default '1',
566 `exp` int(11) unsigned NOT NULL default '0',
567 `Reactstate` tinyint(1) unsigned NOT NULL default '0',
568 `name` varchar(100) default 'Pet',
569 `renamed` tinyint(1) unsigned NOT NULL default '0',
570 `slot` int(11) unsigned NOT NULL default '0',
571 `curhealth` int(11) unsigned NOT NULL default '1',
572 `curmana` int(11) unsigned NOT NULL default '0',
573 `curhappiness` int(11) unsigned NOT NULL default '0',
574 `savetime` bigint(20) unsigned NOT NULL default '0',
575 `resettalents_cost` int(11) unsigned NOT NULL default '0',
576 `resettalents_time` bigint(20) unsigned NOT NULL default '0',
579 KEY `owner` (`owner`)
580 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
583 -- Dumping data for table `character_pet`
586 LOCK TABLES `character_pet` WRITE;
587 /*!40000 ALTER TABLE `character_pet` DISABLE KEYS */;
588 /*!40000 ALTER TABLE `character_pet` ENABLE KEYS */;
592 -- Table structure for table `character_pet_declinedname`
595 DROP TABLE IF EXISTS `character_pet_declinedname`;
596 CREATE TABLE `character_pet_declinedname` (
597 `id` int(11) unsigned NOT NULL default '0',
598 `owner` int(11) unsigned NOT NULL default '0',
599 `genitive` varchar(12) NOT NULL default '',
600 `dative` varchar(12) NOT NULL default '',
601 `accusative` varchar(12) NOT NULL default '',
602 `instrumental` varchar(12) NOT NULL default '',
603 `prepositional` varchar(12) NOT NULL default '',
605 KEY owner_key (`owner`)
606 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
609 -- Dumping data for table `character_pet_declinedname`
612 LOCK TABLES `character_pet_declinedname` WRITE;
613 /*!40000 ALTER TABLE `character_pet_declinedname` DISABLE KEYS */;
614 /*!40000 ALTER TABLE `character_pet_declinedname` ENABLE KEYS */;
618 -- Table structure for table `character_queststatus`
621 DROP TABLE IF EXISTS `character_queststatus`;
622 CREATE TABLE `character_queststatus` (
623 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
624 `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
625 `status` int(11) unsigned NOT NULL default '0',
626 `rewarded` tinyint(1) unsigned NOT NULL default '0',
627 `explored` tinyint(1) unsigned NOT NULL default '0',
628 `timer` bigint(20) unsigned NOT NULL default '0',
629 `mobcount1` int(11) unsigned NOT NULL default '0',
630 `mobcount2` int(11) unsigned NOT NULL default '0',
631 `mobcount3` int(11) unsigned NOT NULL default '0',
632 `mobcount4` int(11) unsigned NOT NULL default '0',
633 `itemcount1` int(11) unsigned NOT NULL default '0',
634 `itemcount2` int(11) unsigned NOT NULL default '0',
635 `itemcount3` int(11) unsigned NOT NULL default '0',
636 `itemcount4` int(11) unsigned NOT NULL default '0',
637 PRIMARY KEY (`guid`,`quest`)
638 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
641 -- Dumping data for table `character_queststatus`
644 LOCK TABLES `character_queststatus` WRITE;
645 /*!40000 ALTER TABLE `character_queststatus` DISABLE KEYS */;
646 /*!40000 ALTER TABLE `character_queststatus` ENABLE KEYS */;
650 -- Table structure for table `character_queststatus_daily`
653 DROP TABLE IF EXISTS `character_queststatus_daily`;
654 CREATE TABLE `character_queststatus_daily` (
655 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
656 `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
657 `time` bigint(20) unsigned NOT NULL default '0',
658 PRIMARY KEY (`guid`,`quest`),
659 KEY `idx_guid` (`guid`)
660 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
663 -- Dumping data for table `character_queststatus_daily`
666 LOCK TABLES `character_queststatus_daily` WRITE;
667 /*!40000 ALTER TABLE `character_queststatus_daily` DISABLE KEYS */;
668 /*!40000 ALTER TABLE `character_queststatus_daily` ENABLE KEYS */;
672 -- Table structure for table `character_reputation`
675 DROP TABLE IF EXISTS `character_reputation`;
676 CREATE TABLE `character_reputation` (
677 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
678 `faction` int(11) unsigned NOT NULL default '0',
679 `standing` int(11) NOT NULL default '0',
680 `flags` int(11) NOT NULL default '0',
681 PRIMARY KEY (`guid`,`faction`)
682 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
685 -- Dumping data for table `character_reputation`
688 LOCK TABLES `character_reputation` WRITE;
689 /*!40000 ALTER TABLE `character_reputation` DISABLE KEYS */;
690 /*!40000 ALTER TABLE `character_reputation` ENABLE KEYS */;
694 -- Table structure for table `character_skills`
697 DROP TABLE IF EXISTS `character_skills`;
698 CREATE TABLE `character_skills` (
699 `guid` int(11) unsigned NOT NULL COMMENT 'Global Unique Identifier',
700 `skill` mediumint(9) unsigned NOT NULL,
701 `value` mediumint(9) unsigned NOT NULL,
702 `max` mediumint(9) unsigned NOT NULL,
703 PRIMARY KEY (`guid`,`skill`)
704 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
707 -- Dumping data for table `character_skills`
710 LOCK TABLES `character_skills` WRITE;
711 /*!40000 ALTER TABLE `character_skills` DISABLE KEYS */;
712 /*!40000 ALTER TABLE `character_skills` ENABLE KEYS */;
716 -- Table structure for table `character_social`
719 DROP TABLE IF EXISTS `character_social`;
720 CREATE TABLE `character_social` (
721 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
722 `friend` int(11) unsigned NOT NULL default '0' COMMENT 'Friend Global Unique Identifier',
723 `flags` tinyint(1) unsigned NOT NULL default '0' COMMENT 'Friend Flags',
724 `note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note',
725 PRIMARY KEY (`guid`,`friend`,`flags`),
727 KEY `friend` (`friend`),
728 KEY `guid_flags` (`guid`,`flags`),
729 KEY `friend_flags` (`friend`,`flags`)
730 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
733 -- Dumping data for table `character_social`
736 LOCK TABLES `character_social` WRITE;
737 /*!40000 ALTER TABLE `character_social` DISABLE KEYS */;
738 /*!40000 ALTER TABLE `character_social` ENABLE KEYS */;
742 -- Table structure for table `character_spell`
745 DROP TABLE IF EXISTS `character_spell`;
746 CREATE TABLE `character_spell` (
747 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
748 `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
749 `active` tinyint(3) unsigned NOT NULL default '1',
750 `disabled` tinyint(3) unsigned NOT NULL default '0',
751 PRIMARY KEY (`guid`,`spell`)
752 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
755 -- Dumping data for table `character_spell`
758 LOCK TABLES `character_spell` WRITE;
759 /*!40000 ALTER TABLE `character_spell` DISABLE KEYS */;
760 /*!40000 ALTER TABLE `character_spell` ENABLE KEYS */;
764 -- Table structure for table `character_spell_cooldown`
767 DROP TABLE IF EXISTS `character_spell_cooldown`;
768 CREATE TABLE `character_spell_cooldown` (
769 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
770 `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
771 `item` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
772 `time` bigint(20) unsigned NOT NULL default '0',
773 PRIMARY KEY (`guid`,`spell`)
774 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
777 -- Dumping data for table `character_spell_cooldown`
780 LOCK TABLES `character_spell_cooldown` WRITE;
781 /*!40000 ALTER TABLE `character_spell_cooldown` DISABLE KEYS */;
782 /*!40000 ALTER TABLE `character_spell_cooldown` ENABLE KEYS */;
786 -- Table structure for table `character_ticket`
789 DROP TABLE IF EXISTS `character_ticket`;
790 CREATE TABLE `character_ticket` (
791 `ticket_id` int(11) unsigned NOT NULL auto_increment,
792 `guid` int(11) unsigned NOT NULL default '0',
794 `response_text` text,
795 `ticket_lastchange` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
796 PRIMARY KEY (`ticket_id`)
797 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
800 -- Dumping data for table `character_ticket`
803 LOCK TABLES `character_ticket` WRITE;
804 /*!40000 ALTER TABLE `character_ticket` DISABLE KEYS */;
805 /*!40000 ALTER TABLE `character_ticket` ENABLE KEYS */;
809 -- Table structure for table `character_tutorial`
812 DROP TABLE IF EXISTS `character_tutorial`;
813 CREATE TABLE `character_tutorial` (
814 `account` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Account Identifier',
815 `realmid` int(11) unsigned NOT NULL default '0' COMMENT 'Realm Identifier',
816 `tut0` int(11) unsigned NOT NULL default '0',
817 `tut1` int(11) unsigned NOT NULL default '0',
818 `tut2` int(11) unsigned NOT NULL default '0',
819 `tut3` int(11) unsigned NOT NULL default '0',
820 `tut4` int(11) unsigned NOT NULL default '0',
821 `tut5` int(11) unsigned NOT NULL default '0',
822 `tut6` int(11) unsigned NOT NULL default '0',
823 `tut7` int(11) unsigned NOT NULL default '0',
824 PRIMARY KEY (`account`,`realmid`),
825 KEY acc_key (`account`)
826 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
829 -- Dumping data for table `character_tutorial`
832 LOCK TABLES `character_tutorial` WRITE;
833 /*!40000 ALTER TABLE `character_tutorial` DISABLE KEYS */;
834 /*!40000 ALTER TABLE `character_tutorial` ENABLE KEYS */;
838 -- Table structure for table `corpse`
841 DROP TABLE IF EXISTS `corpse`;
842 CREATE TABLE `corpse` (
843 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
844 `player` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
845 `position_x` float NOT NULL default '0',
846 `position_y` float NOT NULL default '0',
847 `position_z` float NOT NULL default '0',
848 `orientation` float NOT NULL default '0',
849 `zone` int(11) unsigned NOT NULL default '38' COMMENT 'Zone Identifier',
850 `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
851 `phaseMask` smallint(5) unsigned NOT NULL default '1',
853 `time` bigint(20) unsigned NOT NULL default '0',
854 `corpse_type` tinyint(3) unsigned NOT NULL default '0',
855 `instance` int(11) unsigned NOT NULL default '0',
856 PRIMARY KEY (`guid`),
857 KEY `idx_type` (`corpse_type`),
858 KEY `instance` (`instance`)
859 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Death System';
862 -- Dumping data for table `corpse`
865 LOCK TABLES `corpse` WRITE;
866 /*!40000 ALTER TABLE `corpse` DISABLE KEYS */;
867 /*!40000 ALTER TABLE `corpse` ENABLE KEYS */;
871 -- Table structure for table `groups`
874 DROP TABLE IF EXISTS `groups`;
875 CREATE TABLE `groups` (
876 `leaderGuid` int(11) unsigned NOT NULL,
877 `mainTank` int(11) unsigned NOT NULL,
878 `mainAssistant` int(11) unsigned NOT NULL,
879 `lootMethod` tinyint(4) unsigned NOT NULL,
880 `looterGuid` int(11) unsigned NOT NULL,
881 `lootThreshold` tinyint(4) unsigned NOT NULL,
882 `icon1` int(11) unsigned NOT NULL,
883 `icon2` int(11) unsigned NOT NULL,
884 `icon3` int(11) unsigned NOT NULL,
885 `icon4` int(11) unsigned NOT NULL,
886 `icon5` int(11) unsigned NOT NULL,
887 `icon6` int(11) unsigned NOT NULL,
888 `icon7` int(11) unsigned NOT NULL,
889 `icon8` int(11) unsigned NOT NULL,
890 `isRaid` tinyint(1) unsigned NOT NULL,
891 `difficulty` tinyint(3) unsigned NOT NULL default '0',
892 `raiddifficulty` int(11) UNSIGNED NOT NULL default '0',
893 PRIMARY KEY (`leaderGuid`)
894 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
897 -- Dumping data for table `groups`
900 LOCK TABLES `groups` WRITE;
901 /*!40000 ALTER TABLE `groups` DISABLE KEYS */;
902 /*!40000 ALTER TABLE `groups` ENABLE KEYS */;
905 -- ----------------------------
906 -- Table structure for group_instance
907 -- ----------------------------
908 DROP TABLE IF EXISTS `group_instance`;
909 CREATE TABLE `group_instance` (
910 `leaderGuid` int(11) unsigned NOT NULL default '0',
911 `instance` int(11) unsigned NOT NULL default '0',
912 `permanent` tinyint(1) unsigned NOT NULL default '0',
913 PRIMARY KEY (`leaderGuid`,`instance`),
914 KEY `instance` (`instance`)
915 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
918 -- Dumping data for table `group_instance`
921 LOCK TABLES `group_instance` WRITE;
922 /*!40000 ALTER TABLE `group_instance` DISABLE KEYS */;
923 /*!40000 ALTER TABLE `group_instance` ENABLE KEYS */;
927 -- Table structure for table `group_member`
930 DROP TABLE IF EXISTS `group_member`;
931 CREATE TABLE `group_member` (
932 `leaderGuid` int(11) unsigned NOT NULL,
933 `memberGuid` int(11) unsigned NOT NULL,
934 `assistant` tinyint(1) unsigned NOT NULL,
935 `subgroup` smallint(6) unsigned NOT NULL,
936 PRIMARY KEY (`leaderGuid`,`memberGuid`)
937 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
940 -- Dumping data for table `group_member`
943 LOCK TABLES `group_member` WRITE;
944 /*!40000 ALTER TABLE `group_member` DISABLE KEYS */;
945 /*!40000 ALTER TABLE `group_member` ENABLE KEYS */;
949 -- Table structure for table `guild`
952 DROP TABLE IF EXISTS `guild`;
953 CREATE TABLE `guild` (
954 `guildid` int(6) unsigned NOT NULL default '0',
955 `name` varchar(255) NOT NULL default '',
956 `leaderguid` int(6) unsigned NOT NULL default '0',
957 `EmblemStyle` int(5) NOT NULL default '0',
958 `EmblemColor` int(5) NOT NULL default '0',
959 `BorderStyle` int(5) NOT NULL default '0',
960 `BorderColor` int(5) NOT NULL default '0',
961 `BackgroundColor` int(5) NOT NULL default '0',
962 `info` text NOT NULL,
963 `motd` varchar(255) NOT NULL default '',
964 `createdate` bigint(20) NOT NULL default '0',
965 `BankMoney` bigint(20) NOT NULL default '0',
966 PRIMARY KEY (`guildid`)
967 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
970 -- Dumping data for table `guild`
973 LOCK TABLES `guild` WRITE;
974 /*!40000 ALTER TABLE `guild` DISABLE KEYS */;
975 /*!40000 ALTER TABLE `guild` ENABLE KEYS */;
979 -- Table structure for table `guild_bank_eventlog`
982 DROP TABLE IF EXISTS `guild_bank_eventlog`;
983 CREATE TABLE `guild_bank_eventlog` (
984 `guildid` int(11) unsigned NOT NULL default '0' COMMENT 'Guild Identificator',
985 `LogGuid` int(11) unsigned NOT NULL default '0' COMMENT 'Log record identificator - auxiliary column',
986 `TabId` tinyint(3) unsigned NOT NULL default '0' COMMENT 'Guild bank TabId',
987 `EventType` tinyint(3) unsigned NOT NULL default '0' COMMENT 'Event type',
988 `PlayerGuid` int(11) unsigned NOT NULL default '0',
989 `ItemOrMoney` int(11) unsigned NOT NULL default '0',
990 `ItemStackCount` tinyint(3) unsigned NOT NULL default '0',
991 `DestTabId` tinyint(1) unsigned NOT NULL default '0' COMMENT 'Destination Tab Id',
992 `TimeStamp` bigint(20) unsigned NOT NULL default '0' COMMENT 'Event UNIX time',
993 PRIMARY KEY (`guildid`,`LogGuid`,`TabId`),
994 KEY `guildid_key` (`guildid`)
995 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
998 -- Dumping data for table `guild_bank_eventlog`
1001 LOCK TABLES `guild_bank_eventlog` WRITE;
1002 /*!40000 ALTER TABLE `guild_bank_eventlog` DISABLE KEYS */;
1003 /*!40000 ALTER TABLE `guild_bank_eventlog` ENABLE KEYS */;
1007 -- Table structure for table `guild_bank_item`
1010 DROP TABLE IF EXISTS `guild_bank_item`;
1011 CREATE TABLE `guild_bank_item` (
1012 `guildid` int(11) unsigned NOT NULL default '0',
1013 `TabId` tinyint(1) unsigned NOT NULL default '0',
1014 `SlotId` tinyint(3) unsigned NOT NULL default '0',
1015 `item_guid` int(11) unsigned NOT NULL default '0',
1016 `item_entry` int(11) unsigned NOT NULL default '0',
1017 PRIMARY KEY (`guildid`,`tabid`,`slotid`),
1018 KEY `guildid_key` (`guildid`)
1019 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1022 -- Dumping data for table `guild_bank_item`
1025 LOCK TABLES `guild_bank_item` WRITE;
1026 /*!40000 ALTER TABLE `guild_bank_item` DISABLE KEYS */;
1027 /*!40000 ALTER TABLE `guild_bank_item` ENABLE KEYS */;
1031 -- Table structure for table `guild_bank_right`
1034 DROP TABLE IF EXISTS `guild_bank_right`;
1035 CREATE TABLE `guild_bank_right` (
1036 `guildid` int(11) unsigned NOT NULL default '0',
1037 `TabId` tinyint(1) unsigned NOT NULL default '0',
1038 `rid` int(11) unsigned NOT NULL default '0',
1039 `gbright` tinyint(3) unsigned NOT NULL default '0',
1040 `SlotPerDay` int(11) unsigned NOT NULL default '0',
1041 PRIMARY KEY (`guildid`,`TabId`,`rid`),
1042 KEY `guildid_key` (`guildid`)
1043 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1046 -- Dumping data for table `guild_bank_right`
1049 LOCK TABLES `guild_bank_right` WRITE;
1050 /*!40000 ALTER TABLE `guild_bank_right` DISABLE KEYS */;
1051 /*!40000 ALTER TABLE `guild_bank_right` ENABLE KEYS */;
1055 -- Table structure for table `guild_bank_tab`
1058 DROP TABLE IF EXISTS `guild_bank_tab`;
1059 CREATE TABLE `guild_bank_tab` (
1060 `guildid` int(11) unsigned NOT NULL default '0',
1061 `TabId` tinyint(1) unsigned NOT NULL default '0',
1062 `TabName` varchar(100) NOT NULL default '',
1063 `TabIcon` varchar(100) NOT NULL default '',
1065 PRIMARY KEY (`guildid`,`TabId`),
1066 KEY `guildid_key` (`guildid`)
1067 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1070 -- Dumping data for table `guild_bank_tab`
1073 LOCK TABLES `guild_bank_tab` WRITE;
1074 /*!40000 ALTER TABLE `guild_bank_tab` DISABLE KEYS */;
1075 /*!40000 ALTER TABLE `guild_bank_tab` ENABLE KEYS */;
1079 -- Table structure for table `guild_eventlog`
1082 DROP TABLE IF EXISTS `guild_eventlog`;
1083 CREATE TABLE `guild_eventlog` (
1084 `guildid` int(11) NOT NULL COMMENT 'Guild Identificator',
1085 `LogGuid` int(11) NOT NULL COMMENT 'Log record identificator - auxiliary column',
1086 `EventType` tinyint(1) NOT NULL COMMENT 'Event type',
1087 `PlayerGuid1` int(11) NOT NULL COMMENT 'Player 1',
1088 `PlayerGuid2` int(11) NOT NULL COMMENT 'Player 2',
1089 `NewRank` tinyint(2) NOT NULL COMMENT 'New rank(in case promotion/demotion)',
1090 `TimeStamp` bigint(20) NOT NULL COMMENT 'Event UNIX time',
1091 PRIMARY KEY (`guildid`, `LogGuid`)
1092 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT 'Guild Eventlog';
1095 -- Dumping data for table `guild_eventlog`
1098 LOCK TABLES `guild_eventlog` WRITE;
1099 /*!40000 ALTER TABLE `guild_eventlog` DISABLE KEYS */;
1100 /*!40000 ALTER TABLE `guild_eventlog` ENABLE KEYS */;
1104 -- Table structure for table `guild_member`
1107 DROP TABLE IF EXISTS `guild_member`;
1108 CREATE TABLE `guild_member` (
1109 `guildid` int(6) unsigned NOT NULL default '0',
1110 `guid` int(11) unsigned NOT NULL default '0',
1111 `rank` tinyint(2) unsigned NOT NULL default '0',
1112 `pnote` varchar(255) NOT NULL default '',
1113 `offnote` varchar(255) NOT NULL default '',
1114 `BankResetTimeMoney` int(11) unsigned NOT NULL default '0',
1115 `BankRemMoney` int(11) unsigned NOT NULL default '0',
1116 `BankResetTimeTab0` int(11) unsigned NOT NULL default '0',
1117 `BankRemSlotsTab0` int(11) unsigned NOT NULL default '0',
1118 `BankResetTimeTab1` int(11) unsigned NOT NULL default '0',
1119 `BankRemSlotsTab1` int(11) unsigned NOT NULL default '0',
1120 `BankResetTimeTab2` int(11) unsigned NOT NULL default '0',
1121 `BankRemSlotsTab2` int(11) unsigned NOT NULL default '0',
1122 `BankResetTimeTab3` int(11) unsigned NOT NULL default '0',
1123 `BankRemSlotsTab3` int(11) unsigned NOT NULL default '0',
1124 `BankResetTimeTab4` int(11) unsigned NOT NULL default '0',
1125 `BankRemSlotsTab4` int(11) unsigned NOT NULL default '0',
1126 `BankResetTimeTab5` int(11) unsigned NOT NULL default '0',
1127 `BankRemSlotsTab5` int(11) unsigned NOT NULL default '0',
1128 KEY `guildid_key` (`guildid`),
1129 KEY `guildid_rank_key` (`guildid`,`rank`),
1130 UNIQUE KEY `guid_key` (`guid`)
1131 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Guild System';
1134 -- Dumping data for table `guild_member`
1137 LOCK TABLES `guild_member` WRITE;
1138 /*!40000 ALTER TABLE `guild_member` DISABLE KEYS */;
1139 /*!40000 ALTER TABLE `guild_member` ENABLE KEYS */;
1143 -- Table structure for table `guild_rank`
1146 DROP TABLE IF EXISTS `guild_rank`;
1147 CREATE TABLE `guild_rank` (
1148 `guildid` int(6) unsigned NOT NULL default '0',
1149 `rid` int(11) unsigned NOT NULL,
1150 `rname` varchar(255) NOT NULL default '',
1151 `rights` int(3) unsigned NOT NULL default '0',
1152 `BankMoneyPerDay` int(11) unsigned NOT NULL default '0',
1153 PRIMARY KEY (`guildid`,`rid`)
1154 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
1157 -- Dumping data for table `guild_rank`
1160 LOCK TABLES `guild_rank` WRITE;
1161 /*!40000 ALTER TABLE `guild_rank` DISABLE KEYS */;
1162 /*!40000 ALTER TABLE `guild_rank` ENABLE KEYS */;
1166 -- Table structure for table `instance`
1169 DROP TABLE IF EXISTS `instance`;
1170 CREATE TABLE `instance` (
1171 `id` int(11) unsigned NOT NULL default '0',
1172 `map` int(11) unsigned NOT NULL default '0',
1173 `resettime` bigint(40) NOT NULL default '0',
1174 `difficulty` tinyint(1) unsigned NOT NULL default '0',
1178 KEY `resettime` (`resettime`)
1179 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1182 -- Dumping data for table `instance`
1185 LOCK TABLES `instance` WRITE;
1186 /*!40000 ALTER TABLE `instance` DISABLE KEYS */;
1187 /*!40000 ALTER TABLE `instance` ENABLE KEYS */;
1190 -- ----------------------------
1191 -- Table structure for instance_reset
1192 -- ----------------------------
1193 DROP TABLE IF EXISTS `instance_reset`;
1194 CREATE TABLE `instance_reset` (
1195 `mapid` int(11) unsigned NOT NULL default '0',
1196 `difficulty` tinyint(1) unsigned NOT NULL default '0',
1197 `resettime` bigint(40) NOT NULL default '0',
1198 PRIMARY KEY (`mapid`,`difficulty`)
1199 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1202 -- Dumping data for table `instance_reset`
1205 LOCK TABLES `instance_reset` WRITE;
1206 /*!40000 ALTER TABLE `instance_reset` DISABLE KEYS */;
1207 /*!40000 ALTER TABLE `instance_reset` ENABLE KEYS */;
1211 -- Table structure for table `item_instance`
1214 DROP TABLE IF EXISTS `item_instance`;
1215 CREATE TABLE `item_instance` (
1216 `guid` int(11) unsigned NOT NULL default '0',
1217 `owner_guid` int(11) unsigned NOT NULL default '0',
1219 PRIMARY KEY (`guid`),
1220 KEY `idx_owner_guid` (`owner_guid`)
1221 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item System';
1224 -- Dumping data for table `item_instance`
1227 LOCK TABLES `item_instance` WRITE;
1228 /*!40000 ALTER TABLE `item_instance` DISABLE KEYS */;
1229 /*!40000 ALTER TABLE `item_instance` ENABLE KEYS */;
1233 -- Table structure for table `item_text`
1236 DROP TABLE IF EXISTS `item_text`;
1237 CREATE TABLE `item_text` (
1238 `id` int(11) unsigned NOT NULL default '0',
1241 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
1244 -- Dumping data for table `item_text`
1247 LOCK TABLES `item_text` WRITE;
1248 /*!40000 ALTER TABLE `item_text` DISABLE KEYS */;
1249 /*!40000 ALTER TABLE `item_text` ENABLE KEYS */;
1253 -- Table structure for table `mail`
1256 DROP TABLE IF EXISTS `mail`;
1257 CREATE TABLE `mail` (
1258 `id` int(11) unsigned NOT NULL default '0' COMMENT 'Identifier',
1259 `messageType` tinyint(3) unsigned NOT NULL default '0',
1260 `stationery` tinyint(3) NOT NULL default '41',
1261 `mailTemplateId` mediumint(8) unsigned NOT NULL default '0',
1262 `sender` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1263 `receiver` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1265 `itemTextId` int(11) unsigned NOT NULL default '0',
1266 `has_items` tinyint(3) unsigned NOT NULL default '0',
1267 `expire_time` bigint(40) NOT NULL default '0',
1268 `deliver_time` bigint(40) NOT NULL default '0',
1269 `money` int(11) unsigned NOT NULL default '0',
1270 `cod` int(11) unsigned NOT NULL default '0',
1271 `checked` tinyint(3) unsigned NOT NULL default '0',
1273 KEY `idx_receiver` (`receiver`)
1274 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Mail System';
1277 -- Dumping data for table `mail`
1280 LOCK TABLES `mail` WRITE;
1281 /*!40000 ALTER TABLE `mail` DISABLE KEYS */;
1282 /*!40000 ALTER TABLE `mail` ENABLE KEYS */;
1286 -- Table structure for table `mail_items`
1289 DROP TABLE IF EXISTS `mail_items`;
1290 CREATE TABLE `mail_items` (
1291 `mail_id` int(11) NOT NULL default '0',
1292 `item_guid` int(11) NOT NULL default '0',
1293 `item_template` int(11) NOT NULL default '0',
1294 `receiver` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1295 PRIMARY KEY (`mail_id`,`item_guid`),
1296 KEY `idx_receiver` (`receiver`)
1297 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
1300 -- Dumping data for table `mail_items`
1303 LOCK TABLES `mail_items` WRITE;
1304 /*!40000 ALTER TABLE `mail_items` DISABLE KEYS */;
1305 /*!40000 ALTER TABLE `mail_items` ENABLE KEYS */;
1309 -- Table structure for table `pet_aura`
1312 DROP TABLE IF EXISTS `pet_aura`;
1313 CREATE TABLE `pet_aura` (
1314 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
1315 `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier',
1316 `spell` int(11) unsigned NOT NULL default '0',
1317 `effect_index` int(11) unsigned NOT NULL default '0',
1318 `stackcount` int(11) NOT NULL default '1',
1319 `amount` int(11) NOT NULL default '0',
1320 `maxduration` int(11) NOT NULL default '0',
1321 `remaintime` int(11) NOT NULL default '0',
1322 `remaincharges` int(11) NOT NULL default '0',
1323 PRIMARY KEY (`guid`,`spell`,`effect_index`)
1324 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
1327 -- Dumping data for table `pet_aura`
1330 LOCK TABLES `pet_aura` WRITE;
1331 /*!40000 ALTER TABLE `pet_aura` DISABLE KEYS */;
1332 /*!40000 ALTER TABLE `pet_aura` ENABLE KEYS */;
1336 -- Table structure for table `pet_spell`
1339 DROP TABLE IF EXISTS `pet_spell`;
1340 CREATE TABLE `pet_spell` (
1341 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
1342 `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
1343 `active` int(11) unsigned NOT NULL default '0',
1344 PRIMARY KEY (`guid`,`spell`)
1345 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
1348 -- Dumping data for table `pet_spell`
1351 LOCK TABLES `pet_spell` WRITE;
1352 /*!40000 ALTER TABLE `pet_spell` DISABLE KEYS */;
1353 /*!40000 ALTER TABLE `pet_spell` ENABLE KEYS */;
1357 -- Table structure for table `pet_spell_cooldown`
1360 DROP TABLE IF EXISTS `pet_spell_cooldown`;
1361 CREATE TABLE `pet_spell_cooldown` (
1362 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
1363 `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
1364 `time` bigint(20) unsigned NOT NULL default '0',
1365 PRIMARY KEY (`guid`,`spell`)
1366 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1369 -- Dumping data for table `pet_spell_cooldown`
1372 LOCK TABLES `pet_spell_cooldown` WRITE;
1373 /*!40000 ALTER TABLE `pet_spell_cooldown` DISABLE KEYS */;
1374 /*!40000 ALTER TABLE `pet_spell_cooldown` ENABLE KEYS */;
1378 -- Table structure for table `petition`
1381 DROP TABLE IF EXISTS `petition`;
1382 CREATE TABLE `petition` (
1383 `ownerguid` int(10) unsigned NOT NULL,
1384 `petitionguid` int(10) unsigned default '0',
1385 `name` varchar(255) NOT NULL default '',
1386 `type` int(10) unsigned NOT NULL default '0',
1387 PRIMARY KEY (`ownerguid`,`type`),
1388 UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
1389 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
1392 -- Dumping data for table `petition`
1395 LOCK TABLES `petition` WRITE;
1396 /*!40000 ALTER TABLE `petition` DISABLE KEYS */;
1397 /*!40000 ALTER TABLE `petition` ENABLE KEYS */;
1401 -- Table structure for table `petition_sign`
1404 DROP TABLE IF EXISTS `petition_sign`;
1405 CREATE TABLE `petition_sign` (
1406 `ownerguid` int(10) unsigned NOT NULL,
1407 `petitionguid` int(11) unsigned NOT NULL default '0',
1408 `playerguid` int(11) unsigned NOT NULL default '0',
1409 `player_account` int(11) unsigned NOT NULL default '0',
1410 `type` int(10) unsigned NOT NULL default '0',
1411 PRIMARY KEY (`petitionguid`,`playerguid`)
1412 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
1415 -- Dumping data for table `petition_sign`
1418 LOCK TABLES `petition_sign` WRITE;
1419 /*!40000 ALTER TABLE `petition_sign` DISABLE KEYS */;
1420 /*!40000 ALTER TABLE `petition_sign` ENABLE KEYS */;
1422 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
1425 -- Table structure for table `saved_variables`
1428 DROP TABLE IF EXISTS `saved_variables`;
1429 CREATE TABLE `saved_variables` (
1430 `NextArenaPointDistributionTime` bigint(40) UNSIGNED NOT NULL DEFAULT '0'
1431 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Variable Saves';
1434 -- Dumping data for table `saved_variables`
1437 LOCK TABLES `saved_variables` WRITE;
1438 /*!40000 ALTER TABLE `saved_variables` DISABLE KEYS */;
1439 /*!40000 ALTER TABLE `saved_variables` ENABLE KEYS */;
1441 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
1444 /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
1445 /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
1446 /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
1447 /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
1448 /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
1449 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
1450 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
1452 -- Dump completed on 2008-01-10 11:37:06