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_8874_01_characters_character_skills` 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` longtext 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` longtext 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 `ticket_lastchange` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
795 PRIMARY KEY (`ticket_id`)
796 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
799 -- Dumping data for table `character_ticket`
802 LOCK TABLES `character_ticket` WRITE;
803 /*!40000 ALTER TABLE `character_ticket` DISABLE KEYS */;
804 /*!40000 ALTER TABLE `character_ticket` ENABLE KEYS */;
808 -- Table structure for table `character_tutorial`
811 DROP TABLE IF EXISTS `character_tutorial`;
812 CREATE TABLE `character_tutorial` (
813 `account` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Account Identifier',
814 `realmid` int(11) unsigned NOT NULL default '0' COMMENT 'Realm Identifier',
815 `tut0` int(11) unsigned NOT NULL default '0',
816 `tut1` int(11) unsigned NOT NULL default '0',
817 `tut2` int(11) unsigned NOT NULL default '0',
818 `tut3` int(11) unsigned NOT NULL default '0',
819 `tut4` int(11) unsigned NOT NULL default '0',
820 `tut5` int(11) unsigned NOT NULL default '0',
821 `tut6` int(11) unsigned NOT NULL default '0',
822 `tut7` int(11) unsigned NOT NULL default '0',
823 PRIMARY KEY (`account`,`realmid`),
824 KEY acc_key (`account`)
825 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
828 -- Dumping data for table `character_tutorial`
831 LOCK TABLES `character_tutorial` WRITE;
832 /*!40000 ALTER TABLE `character_tutorial` DISABLE KEYS */;
833 /*!40000 ALTER TABLE `character_tutorial` ENABLE KEYS */;
837 -- Table structure for table `corpse`
840 DROP TABLE IF EXISTS `corpse`;
841 CREATE TABLE `corpse` (
842 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
843 `player` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
844 `position_x` float NOT NULL default '0',
845 `position_y` float NOT NULL default '0',
846 `position_z` float NOT NULL default '0',
847 `orientation` float NOT NULL default '0',
848 `zone` int(11) unsigned NOT NULL default '38' COMMENT 'Zone Identifier',
849 `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
850 `phaseMask` smallint(5) unsigned NOT NULL default '1',
852 `time` bigint(20) unsigned NOT NULL default '0',
853 `corpse_type` tinyint(3) unsigned NOT NULL default '0',
854 `instance` int(11) unsigned NOT NULL default '0',
855 PRIMARY KEY (`guid`),
856 KEY `idx_type` (`corpse_type`),
857 KEY `instance` (`instance`)
858 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Death System';
861 -- Dumping data for table `corpse`
864 LOCK TABLES `corpse` WRITE;
865 /*!40000 ALTER TABLE `corpse` DISABLE KEYS */;
866 /*!40000 ALTER TABLE `corpse` ENABLE KEYS */;
870 -- Table structure for table `groups`
873 DROP TABLE IF EXISTS `groups`;
874 CREATE TABLE `groups` (
875 `leaderGuid` int(11) unsigned NOT NULL,
876 `mainTank` int(11) unsigned NOT NULL,
877 `mainAssistant` int(11) unsigned NOT NULL,
878 `lootMethod` tinyint(4) unsigned NOT NULL,
879 `looterGuid` int(11) unsigned NOT NULL,
880 `lootThreshold` tinyint(4) unsigned NOT NULL,
881 `icon1` int(11) unsigned NOT NULL,
882 `icon2` int(11) unsigned NOT NULL,
883 `icon3` int(11) unsigned NOT NULL,
884 `icon4` int(11) unsigned NOT NULL,
885 `icon5` int(11) unsigned NOT NULL,
886 `icon6` int(11) unsigned NOT NULL,
887 `icon7` int(11) unsigned NOT NULL,
888 `icon8` int(11) unsigned NOT NULL,
889 `isRaid` tinyint(1) unsigned NOT NULL,
890 `difficulty` tinyint(3) unsigned NOT NULL default '0',
891 `raiddifficulty` int(11) UNSIGNED NOT NULL default '0',
892 PRIMARY KEY (`leaderGuid`)
893 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
896 -- Dumping data for table `groups`
899 LOCK TABLES `groups` WRITE;
900 /*!40000 ALTER TABLE `groups` DISABLE KEYS */;
901 /*!40000 ALTER TABLE `groups` ENABLE KEYS */;
904 -- ----------------------------
905 -- Table structure for group_instance
906 -- ----------------------------
907 DROP TABLE IF EXISTS `group_instance`;
908 CREATE TABLE `group_instance` (
909 `leaderGuid` int(11) unsigned NOT NULL default '0',
910 `instance` int(11) unsigned NOT NULL default '0',
911 `permanent` tinyint(1) unsigned NOT NULL default '0',
912 PRIMARY KEY (`leaderGuid`,`instance`),
913 KEY `instance` (`instance`)
914 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
917 -- Dumping data for table `group_instance`
920 LOCK TABLES `group_instance` WRITE;
921 /*!40000 ALTER TABLE `group_instance` DISABLE KEYS */;
922 /*!40000 ALTER TABLE `group_instance` ENABLE KEYS */;
926 -- Table structure for table `group_member`
929 DROP TABLE IF EXISTS `group_member`;
930 CREATE TABLE `group_member` (
931 `leaderGuid` int(11) unsigned NOT NULL,
932 `memberGuid` int(11) unsigned NOT NULL,
933 `assistant` tinyint(1) unsigned NOT NULL,
934 `subgroup` smallint(6) unsigned NOT NULL,
935 PRIMARY KEY (`leaderGuid`,`memberGuid`)
936 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
939 -- Dumping data for table `group_member`
942 LOCK TABLES `group_member` WRITE;
943 /*!40000 ALTER TABLE `group_member` DISABLE KEYS */;
944 /*!40000 ALTER TABLE `group_member` ENABLE KEYS */;
948 -- Table structure for table `guild`
951 DROP TABLE IF EXISTS `guild`;
952 CREATE TABLE `guild` (
953 `guildid` int(6) unsigned NOT NULL default '0',
954 `name` varchar(255) NOT NULL default '',
955 `leaderguid` int(6) unsigned NOT NULL default '0',
956 `EmblemStyle` int(5) NOT NULL default '0',
957 `EmblemColor` int(5) NOT NULL default '0',
958 `BorderStyle` int(5) NOT NULL default '0',
959 `BorderColor` int(5) NOT NULL default '0',
960 `BackgroundColor` int(5) NOT NULL default '0',
961 `info` text NOT NULL,
962 `motd` varchar(255) NOT NULL default '',
963 `createdate` bigint(20) NOT NULL default '0',
964 `BankMoney` bigint(20) NOT NULL default '0',
965 PRIMARY KEY (`guildid`)
966 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
969 -- Dumping data for table `guild`
972 LOCK TABLES `guild` WRITE;
973 /*!40000 ALTER TABLE `guild` DISABLE KEYS */;
974 /*!40000 ALTER TABLE `guild` ENABLE KEYS */;
978 -- Table structure for table `guild_bank_eventlog`
981 DROP TABLE IF EXISTS `guild_bank_eventlog`;
982 CREATE TABLE `guild_bank_eventlog` (
983 `guildid` int(11) unsigned NOT NULL default '0' COMMENT 'Guild Identificator',
984 `LogGuid` int(11) unsigned NOT NULL default '0' COMMENT 'Log record identificator - auxiliary column',
985 `TabId` tinyint(3) unsigned NOT NULL default '0' COMMENT 'Guild bank TabId',
986 `EventType` tinyint(3) unsigned NOT NULL default '0' COMMENT 'Event type',
987 `PlayerGuid` int(11) unsigned NOT NULL default '0',
988 `ItemOrMoney` int(11) unsigned NOT NULL default '0',
989 `ItemStackCount` tinyint(3) unsigned NOT NULL default '0',
990 `DestTabId` tinyint(1) unsigned NOT NULL default '0' COMMENT 'Destination Tab Id',
991 `TimeStamp` bigint(20) unsigned NOT NULL default '0' COMMENT 'Event UNIX time',
992 PRIMARY KEY (`guildid`,`LogGuid`,`TabId`),
993 KEY `guildid_key` (`guildid`)
994 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
997 -- Dumping data for table `guild_bank_eventlog`
1000 LOCK TABLES `guild_bank_eventlog` WRITE;
1001 /*!40000 ALTER TABLE `guild_bank_eventlog` DISABLE KEYS */;
1002 /*!40000 ALTER TABLE `guild_bank_eventlog` ENABLE KEYS */;
1006 -- Table structure for table `guild_bank_item`
1009 DROP TABLE IF EXISTS `guild_bank_item`;
1010 CREATE TABLE `guild_bank_item` (
1011 `guildid` int(11) unsigned NOT NULL default '0',
1012 `TabId` tinyint(1) unsigned NOT NULL default '0',
1013 `SlotId` tinyint(3) unsigned NOT NULL default '0',
1014 `item_guid` int(11) unsigned NOT NULL default '0',
1015 `item_entry` int(11) unsigned NOT NULL default '0',
1016 PRIMARY KEY (`guildid`,`tabid`,`slotid`),
1017 KEY `guildid_key` (`guildid`)
1018 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1021 -- Dumping data for table `guild_bank_item`
1024 LOCK TABLES `guild_bank_item` WRITE;
1025 /*!40000 ALTER TABLE `guild_bank_item` DISABLE KEYS */;
1026 /*!40000 ALTER TABLE `guild_bank_item` ENABLE KEYS */;
1030 -- Table structure for table `guild_bank_right`
1033 DROP TABLE IF EXISTS `guild_bank_right`;
1034 CREATE TABLE `guild_bank_right` (
1035 `guildid` int(11) unsigned NOT NULL default '0',
1036 `TabId` tinyint(1) unsigned NOT NULL default '0',
1037 `rid` int(11) unsigned NOT NULL default '0',
1038 `gbright` tinyint(3) unsigned NOT NULL default '0',
1039 `SlotPerDay` int(11) unsigned NOT NULL default '0',
1040 PRIMARY KEY (`guildid`,`TabId`,`rid`),
1041 KEY `guildid_key` (`guildid`)
1042 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1045 -- Dumping data for table `guild_bank_right`
1048 LOCK TABLES `guild_bank_right` WRITE;
1049 /*!40000 ALTER TABLE `guild_bank_right` DISABLE KEYS */;
1050 /*!40000 ALTER TABLE `guild_bank_right` ENABLE KEYS */;
1054 -- Table structure for table `guild_bank_tab`
1057 DROP TABLE IF EXISTS `guild_bank_tab`;
1058 CREATE TABLE `guild_bank_tab` (
1059 `guildid` int(11) unsigned NOT NULL default '0',
1060 `TabId` tinyint(1) unsigned NOT NULL default '0',
1061 `TabName` varchar(100) NOT NULL default '',
1062 `TabIcon` varchar(100) NOT NULL default '',
1064 PRIMARY KEY (`guildid`,`TabId`),
1065 KEY `guildid_key` (`guildid`)
1066 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1069 -- Dumping data for table `guild_bank_tab`
1072 LOCK TABLES `guild_bank_tab` WRITE;
1073 /*!40000 ALTER TABLE `guild_bank_tab` DISABLE KEYS */;
1074 /*!40000 ALTER TABLE `guild_bank_tab` ENABLE KEYS */;
1078 -- Table structure for table `guild_eventlog`
1081 DROP TABLE IF EXISTS `guild_eventlog`;
1082 CREATE TABLE `guild_eventlog` (
1083 `guildid` int(11) NOT NULL COMMENT 'Guild Identificator',
1084 `LogGuid` int(11) NOT NULL COMMENT 'Log record identificator - auxiliary column',
1085 `EventType` tinyint(1) NOT NULL COMMENT 'Event type',
1086 `PlayerGuid1` int(11) NOT NULL COMMENT 'Player 1',
1087 `PlayerGuid2` int(11) NOT NULL COMMENT 'Player 2',
1088 `NewRank` tinyint(2) NOT NULL COMMENT 'New rank(in case promotion/demotion)',
1089 `TimeStamp` bigint(20) NOT NULL COMMENT 'Event UNIX time',
1090 PRIMARY KEY (`guildid`, `LogGuid`)
1091 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT 'Guild Eventlog';
1094 -- Dumping data for table `guild_eventlog`
1097 LOCK TABLES `guild_eventlog` WRITE;
1098 /*!40000 ALTER TABLE `guild_eventlog` DISABLE KEYS */;
1099 /*!40000 ALTER TABLE `guild_eventlog` ENABLE KEYS */;
1103 -- Table structure for table `guild_member`
1106 DROP TABLE IF EXISTS `guild_member`;
1107 CREATE TABLE `guild_member` (
1108 `guildid` int(6) unsigned NOT NULL default '0',
1109 `guid` int(11) unsigned NOT NULL default '0',
1110 `rank` tinyint(2) unsigned NOT NULL default '0',
1111 `pnote` varchar(255) NOT NULL default '',
1112 `offnote` varchar(255) NOT NULL default '',
1113 `BankResetTimeMoney` int(11) unsigned NOT NULL default '0',
1114 `BankRemMoney` int(11) unsigned NOT NULL default '0',
1115 `BankResetTimeTab0` int(11) unsigned NOT NULL default '0',
1116 `BankRemSlotsTab0` int(11) unsigned NOT NULL default '0',
1117 `BankResetTimeTab1` int(11) unsigned NOT NULL default '0',
1118 `BankRemSlotsTab1` int(11) unsigned NOT NULL default '0',
1119 `BankResetTimeTab2` int(11) unsigned NOT NULL default '0',
1120 `BankRemSlotsTab2` int(11) unsigned NOT NULL default '0',
1121 `BankResetTimeTab3` int(11) unsigned NOT NULL default '0',
1122 `BankRemSlotsTab3` int(11) unsigned NOT NULL default '0',
1123 `BankResetTimeTab4` int(11) unsigned NOT NULL default '0',
1124 `BankRemSlotsTab4` int(11) unsigned NOT NULL default '0',
1125 `BankResetTimeTab5` int(11) unsigned NOT NULL default '0',
1126 `BankRemSlotsTab5` int(11) unsigned NOT NULL default '0',
1127 KEY `guildid_key` (`guildid`),
1128 KEY `guildid_rank_key` (`guildid`,`rank`),
1129 UNIQUE KEY `guid_key` (`guid`)
1130 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Guild System';
1133 -- Dumping data for table `guild_member`
1136 LOCK TABLES `guild_member` WRITE;
1137 /*!40000 ALTER TABLE `guild_member` DISABLE KEYS */;
1138 /*!40000 ALTER TABLE `guild_member` ENABLE KEYS */;
1142 -- Table structure for table `guild_rank`
1145 DROP TABLE IF EXISTS `guild_rank`;
1146 CREATE TABLE `guild_rank` (
1147 `guildid` int(6) unsigned NOT NULL default '0',
1148 `rid` int(11) unsigned NOT NULL,
1149 `rname` varchar(255) NOT NULL default '',
1150 `rights` int(3) unsigned NOT NULL default '0',
1151 `BankMoneyPerDay` int(11) unsigned NOT NULL default '0',
1152 PRIMARY KEY (`guildid`,`rid`)
1153 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
1156 -- Dumping data for table `guild_rank`
1159 LOCK TABLES `guild_rank` WRITE;
1160 /*!40000 ALTER TABLE `guild_rank` DISABLE KEYS */;
1161 /*!40000 ALTER TABLE `guild_rank` ENABLE KEYS */;
1165 -- Table structure for table `instance`
1168 DROP TABLE IF EXISTS `instance`;
1169 CREATE TABLE `instance` (
1170 `id` int(11) unsigned NOT NULL default '0',
1171 `map` int(11) unsigned NOT NULL default '0',
1172 `resettime` bigint(40) NOT NULL default '0',
1173 `difficulty` tinyint(1) unsigned NOT NULL default '0',
1177 KEY `resettime` (`resettime`)
1178 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1181 -- Dumping data for table `instance`
1184 LOCK TABLES `instance` WRITE;
1185 /*!40000 ALTER TABLE `instance` DISABLE KEYS */;
1186 /*!40000 ALTER TABLE `instance` ENABLE KEYS */;
1189 -- ----------------------------
1190 -- Table structure for instance_reset
1191 -- ----------------------------
1192 DROP TABLE IF EXISTS `instance_reset`;
1193 CREATE TABLE `instance_reset` (
1194 `mapid` int(11) unsigned NOT NULL default '0',
1195 `difficulty` tinyint(1) unsigned NOT NULL default '0',
1196 `resettime` bigint(40) NOT NULL default '0',
1197 PRIMARY KEY (`mapid`,`difficulty`)
1198 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1201 -- Dumping data for table `instance_reset`
1204 LOCK TABLES `instance_reset` WRITE;
1205 /*!40000 ALTER TABLE `instance_reset` DISABLE KEYS */;
1206 /*!40000 ALTER TABLE `instance_reset` ENABLE KEYS */;
1210 -- Table structure for table `item_instance`
1213 DROP TABLE IF EXISTS `item_instance`;
1214 CREATE TABLE `item_instance` (
1215 `guid` int(11) unsigned NOT NULL default '0',
1216 `owner_guid` int(11) unsigned NOT NULL default '0',
1218 PRIMARY KEY (`guid`),
1219 KEY `idx_owner_guid` (`owner_guid`)
1220 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item System';
1223 -- Dumping data for table `item_instance`
1226 LOCK TABLES `item_instance` WRITE;
1227 /*!40000 ALTER TABLE `item_instance` DISABLE KEYS */;
1228 /*!40000 ALTER TABLE `item_instance` ENABLE KEYS */;
1232 -- Table structure for table `item_text`
1235 DROP TABLE IF EXISTS `item_text`;
1236 CREATE TABLE `item_text` (
1237 `id` int(11) unsigned NOT NULL default '0',
1240 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
1243 -- Dumping data for table `item_text`
1246 LOCK TABLES `item_text` WRITE;
1247 /*!40000 ALTER TABLE `item_text` DISABLE KEYS */;
1248 /*!40000 ALTER TABLE `item_text` ENABLE KEYS */;
1252 -- Table structure for table `mail`
1255 DROP TABLE IF EXISTS `mail`;
1256 CREATE TABLE `mail` (
1257 `id` int(11) unsigned NOT NULL default '0' COMMENT 'Identifier',
1258 `messageType` tinyint(3) unsigned NOT NULL default '0',
1259 `stationery` tinyint(3) NOT NULL default '41',
1260 `mailTemplateId` mediumint(8) unsigned NOT NULL default '0',
1261 `sender` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1262 `receiver` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1264 `itemTextId` int(11) unsigned NOT NULL default '0',
1265 `has_items` tinyint(3) unsigned NOT NULL default '0',
1266 `expire_time` bigint(40) NOT NULL default '0',
1267 `deliver_time` bigint(40) NOT NULL default '0',
1268 `money` int(11) unsigned NOT NULL default '0',
1269 `cod` int(11) unsigned NOT NULL default '0',
1270 `checked` tinyint(3) unsigned NOT NULL default '0',
1272 KEY `idx_receiver` (`receiver`)
1273 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Mail System';
1276 -- Dumping data for table `mail`
1279 LOCK TABLES `mail` WRITE;
1280 /*!40000 ALTER TABLE `mail` DISABLE KEYS */;
1281 /*!40000 ALTER TABLE `mail` ENABLE KEYS */;
1285 -- Table structure for table `mail_items`
1288 DROP TABLE IF EXISTS `mail_items`;
1289 CREATE TABLE `mail_items` (
1290 `mail_id` int(11) NOT NULL default '0',
1291 `item_guid` int(11) NOT NULL default '0',
1292 `item_template` int(11) NOT NULL default '0',
1293 `receiver` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1294 PRIMARY KEY (`mail_id`,`item_guid`),
1295 KEY `idx_receiver` (`receiver`)
1296 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
1299 -- Dumping data for table `mail_items`
1302 LOCK TABLES `mail_items` WRITE;
1303 /*!40000 ALTER TABLE `mail_items` DISABLE KEYS */;
1304 /*!40000 ALTER TABLE `mail_items` ENABLE KEYS */;
1308 -- Table structure for table `pet_aura`
1311 DROP TABLE IF EXISTS `pet_aura`;
1312 CREATE TABLE `pet_aura` (
1313 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
1314 `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier',
1315 `spell` int(11) unsigned NOT NULL default '0',
1316 `effect_index` int(11) unsigned NOT NULL default '0',
1317 `stackcount` int(11) NOT NULL default '1',
1318 `amount` int(11) NOT NULL default '0',
1319 `maxduration` int(11) NOT NULL default '0',
1320 `remaintime` int(11) NOT NULL default '0',
1321 `remaincharges` int(11) NOT NULL default '0',
1322 PRIMARY KEY (`guid`,`spell`,`effect_index`)
1323 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
1326 -- Dumping data for table `pet_aura`
1329 LOCK TABLES `pet_aura` WRITE;
1330 /*!40000 ALTER TABLE `pet_aura` DISABLE KEYS */;
1331 /*!40000 ALTER TABLE `pet_aura` ENABLE KEYS */;
1335 -- Table structure for table `pet_spell`
1338 DROP TABLE IF EXISTS `pet_spell`;
1339 CREATE TABLE `pet_spell` (
1340 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
1341 `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
1342 `active` int(11) unsigned NOT NULL default '0',
1343 PRIMARY KEY (`guid`,`spell`)
1344 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
1347 -- Dumping data for table `pet_spell`
1350 LOCK TABLES `pet_spell` WRITE;
1351 /*!40000 ALTER TABLE `pet_spell` DISABLE KEYS */;
1352 /*!40000 ALTER TABLE `pet_spell` ENABLE KEYS */;
1356 -- Table structure for table `pet_spell_cooldown`
1359 DROP TABLE IF EXISTS `pet_spell_cooldown`;
1360 CREATE TABLE `pet_spell_cooldown` (
1361 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
1362 `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
1363 `time` bigint(20) unsigned NOT NULL default '0',
1364 PRIMARY KEY (`guid`,`spell`)
1365 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1368 -- Dumping data for table `pet_spell_cooldown`
1371 LOCK TABLES `pet_spell_cooldown` WRITE;
1372 /*!40000 ALTER TABLE `pet_spell_cooldown` DISABLE KEYS */;
1373 /*!40000 ALTER TABLE `pet_spell_cooldown` ENABLE KEYS */;
1377 -- Table structure for table `petition`
1380 DROP TABLE IF EXISTS `petition`;
1381 CREATE TABLE `petition` (
1382 `ownerguid` int(10) unsigned NOT NULL,
1383 `petitionguid` int(10) unsigned default '0',
1384 `name` varchar(255) NOT NULL default '',
1385 `type` int(10) unsigned NOT NULL default '0',
1386 PRIMARY KEY (`ownerguid`,`type`),
1387 UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
1388 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
1391 -- Dumping data for table `petition`
1394 LOCK TABLES `petition` WRITE;
1395 /*!40000 ALTER TABLE `petition` DISABLE KEYS */;
1396 /*!40000 ALTER TABLE `petition` ENABLE KEYS */;
1400 -- Table structure for table `petition_sign`
1403 DROP TABLE IF EXISTS `petition_sign`;
1404 CREATE TABLE `petition_sign` (
1405 `ownerguid` int(10) unsigned NOT NULL,
1406 `petitionguid` int(11) unsigned NOT NULL default '0',
1407 `playerguid` int(11) unsigned NOT NULL default '0',
1408 `player_account` int(11) unsigned NOT NULL default '0',
1409 `type` int(10) unsigned NOT NULL default '0',
1410 PRIMARY KEY (`petitionguid`,`playerguid`)
1411 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
1414 -- Dumping data for table `petition_sign`
1417 LOCK TABLES `petition_sign` WRITE;
1418 /*!40000 ALTER TABLE `petition_sign` DISABLE KEYS */;
1419 /*!40000 ALTER TABLE `petition_sign` ENABLE KEYS */;
1421 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
1424 -- Table structure for table `saved_variables`
1427 DROP TABLE IF EXISTS `saved_variables`;
1428 CREATE TABLE `saved_variables` (
1429 `NextArenaPointDistributionTime` bigint(40) UNSIGNED NOT NULL DEFAULT '0'
1430 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Variable Saves';
1433 -- Dumping data for table `saved_variables`
1436 LOCK TABLES `saved_variables` WRITE;
1437 /*!40000 ALTER TABLE `saved_variables` DISABLE KEYS */;
1438 /*!40000 ALTER TABLE `saved_variables` ENABLE KEYS */;
1440 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
1443 /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
1444 /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
1445 /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
1446 /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
1447 /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
1448 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
1449 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
1451 -- Dump completed on 2008-01-10 11:37:06