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 `arena_team`
22 DROP TABLE IF EXISTS `arena_team`;
23 CREATE TABLE `arena_team` (
24 `arenateamid` int(10) unsigned NOT NULL default '0',
25 `name` char(255) NOT NULL,
26 `captainguid` int(10) unsigned NOT NULL default '0',
27 `type` tinyint(3) unsigned NOT NULL default '0',
28 `BackgroundColor` int(10) unsigned NOT NULL default '0',
29 `EmblemStyle` int(10) unsigned NOT NULL default '0',
30 `EmblemColor` int(10) unsigned NOT NULL default '0',
31 `BorderStyle` int(10) unsigned NOT NULL default '0',
32 `BorderColor` int(10) unsigned NOT NULL default '0',
33 PRIMARY KEY (`arenateamid`)
34 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
37 -- Dumping data for table `arena_team`
40 LOCK TABLES `arena_team` WRITE;
41 /*!40000 ALTER TABLE `arena_team` DISABLE KEYS */;
42 /*!40000 ALTER TABLE `arena_team` ENABLE KEYS */;
46 -- Table structure for table `arena_team_member`
49 DROP TABLE IF EXISTS `arena_team_member`;
50 CREATE TABLE `arena_team_member` (
51 `arenateamid` int(10) unsigned NOT NULL default '0',
52 `guid` int(10) unsigned NOT NULL default '0',
53 `played_week` int(10) unsigned NOT NULL default '0',
54 `wons_week` int(10) unsigned NOT NULL default '0',
55 `played_season` int(10) unsigned NOT NULL default '0',
56 `wons_season` int(10) unsigned NOT NULL default '0'
57 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
60 -- Dumping data for table `arena_team_member`
63 LOCK TABLES `arena_team_member` WRITE;
64 /*!40000 ALTER TABLE `arena_team_member` DISABLE KEYS */;
65 /*!40000 ALTER TABLE `arena_team_member` ENABLE KEYS */;
69 -- Table structure for table `arena_team_stats`
72 DROP TABLE IF EXISTS `arena_team_stats`;
73 CREATE TABLE `arena_team_stats` (
74 `arenateamid` int(10) unsigned NOT NULL default '0',
75 `rating` int(10) unsigned NOT NULL default '0',
76 `games` int(10) unsigned NOT NULL default '0',
77 `wins` int(10) unsigned NOT NULL default '0',
78 `played` int(10) unsigned NOT NULL default '0',
79 `wins2` int(10) unsigned NOT NULL default '0',
80 `rank` int(10) unsigned NOT NULL default '0',
81 PRIMARY KEY (`arenateamid`)
82 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
85 -- Dumping data for table `arena_team_stats`
88 LOCK TABLES `arena_team_stats` WRITE;
89 /*!40000 ALTER TABLE `arena_team_stats` DISABLE KEYS */;
90 /*!40000 ALTER TABLE `arena_team_stats` ENABLE KEYS */;
94 -- Table structure for table `auctionhouse`
97 DROP TABLE IF EXISTS `auctionhouse`;
98 CREATE TABLE `auctionhouse` (
99 `id` int(11) unsigned NOT NULL default '0',
100 `auctioneerguid` int(11) unsigned NOT NULL default '0',
101 `itemguid` int(11) unsigned NOT NULL default '0',
102 `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
103 `itemowner` int(11) unsigned NOT NULL default '0',
104 `buyoutprice` int(11) NOT NULL default '0',
105 `time` bigint(40) NOT NULL default '0',
106 `buyguid` int(11) unsigned NOT NULL default '0',
107 `lastbid` int(11) NOT NULL default '0',
108 `startbid` int(11) NOT NULL default '0',
109 `deposit` int(11) NOT NULL default '0',
110 `location` tinyint(3) unsigned NOT NULL default '3',
112 UNIQUE KEY `item_guid` (`itemguid`)
113 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
116 -- Dumping data for table `auctionhouse`
119 LOCK TABLES `auctionhouse` WRITE;
120 /*!40000 ALTER TABLE `auctionhouse` DISABLE KEYS */;
121 /*!40000 ALTER TABLE `auctionhouse` ENABLE KEYS */;
125 -- Table structure for table `bugreport`
128 DROP TABLE IF EXISTS `bugreport`;
129 CREATE TABLE `bugreport` (
130 `id` int(11) NOT NULL auto_increment COMMENT 'Identifier',
131 `type` varchar(255) NOT NULL default '',
132 `content` varchar(255) NOT NULL default '',
134 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Debug System';
137 -- Dumping data for table `bugreport`
140 LOCK TABLES `bugreport` WRITE;
141 /*!40000 ALTER TABLE `bugreport` DISABLE KEYS */;
142 /*!40000 ALTER TABLE `bugreport` ENABLE KEYS */;
146 -- Table structure for table `characters`
149 DROP TABLE IF EXISTS `characters`;
150 CREATE TABLE `characters` (
151 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
152 `account` int(11) unsigned NOT NULL default '0' COMMENT 'Account Identifier',
154 `name` varchar(12) NOT NULL default '',
155 `race` tinyint(3) unsigned NOT NULL default '0',
156 `class` tinyint(3) unsigned NOT NULL default '0',
157 `position_x` float NOT NULL default '0',
158 `position_y` float NOT NULL default '0',
159 `position_z` float NOT NULL default '0',
160 `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
161 `dungeon_difficulty` tinyint(1) unsigned NOT NULL DEFAULT '0',
162 `orientation` float NOT NULL default '0',
164 `online` tinyint(3) unsigned NOT NULL default '0',
165 `cinematic` tinyint(3) unsigned NOT NULL default '0',
166 `totaltime` int(11) unsigned NOT NULL default '0',
167 `leveltime` int(11) unsigned NOT NULL default '0',
168 `logout_time` bigint(20) unsigned NOT NULL default '0',
169 `is_logout_resting` tinyint(3) unsigned NOT NULL default '0',
170 `rest_bonus` float NOT NULL default '0',
171 `resettalents_cost` int(11) unsigned NOT NULL default '0',
172 `resettalents_time` bigint(20) unsigned NOT NULL default '0',
173 `trans_x` float NOT NULL default '0',
174 `trans_y` float NOT NULL default '0',
175 `trans_z` float NOT NULL default '0',
176 `trans_o` float NOT NULL default '0',
177 `transguid` bigint(20) unsigned NOT NULL default '0',
178 `extra_flags` int(11) unsigned NOT NULL default '0',
179 `stable_slots` tinyint(1) unsigned NOT NULL default '0',
180 `at_login` int(11) unsigned NOT NULL default '0',
181 `zone` int(11) unsigned NOT NULL default '0',
182 `death_expire_time` bigint(20) unsigned NOT NULL default '0',
184 PRIMARY KEY (`guid`),
185 KEY `idx_account` (`account`),
186 KEY `idx_online` (`online`),
187 KEY `idx_name` (`name`)
188 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
191 -- Dumping data for table `characters`
194 LOCK TABLES `characters` WRITE;
195 /*!40000 ALTER TABLE `characters` DISABLE KEYS */;
196 /*!40000 ALTER TABLE `characters` ENABLE KEYS */;
200 -- Table structure for table `character_action`
203 DROP TABLE IF EXISTS `character_action`;
204 CREATE TABLE `character_action` (
205 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
206 `button` tinyint(3) unsigned NOT NULL default '0',
207 `action` smallint(5) unsigned NOT NULL default '0',
208 `type` tinyint(3) unsigned NOT NULL default '0',
209 `misc` tinyint(3) unsigned NOT NULL default '0',
210 PRIMARY KEY (`guid`,`button`)
211 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
214 -- Dumping data for table `character_action`
217 LOCK TABLES `character_action` WRITE;
218 /*!40000 ALTER TABLE `character_action` DISABLE KEYS */;
219 /*!40000 ALTER TABLE `character_action` ENABLE KEYS */;
223 -- Table structure for table `character_aura`
226 DROP TABLE IF EXISTS `character_aura`;
227 CREATE TABLE `character_aura` (
228 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
229 `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier',
230 `spell` int(11) unsigned NOT NULL default '0',
231 `effect_index` int(11) unsigned NOT NULL default '0',
232 `amount` int(11) NOT NULL default '0',
233 `maxduration` int(11) NOT NULL default '0',
234 `remaintime` int(11) NOT NULL default '0',
235 `remaincharges` int(11) NOT NULL default '0',
236 PRIMARY KEY (`guid`,`spell`,`effect_index`)
237 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
240 -- Dumping data for table `character_aura`
243 LOCK TABLES `character_aura` WRITE;
244 /*!40000 ALTER TABLE `character_aura` DISABLE KEYS */;
245 /*!40000 ALTER TABLE `character_aura` ENABLE KEYS */;
249 -- Table structure for table `character_declinedname`
252 DROP TABLE IF EXISTS `character_declinedname`;
253 CREATE TABLE `character_declinedname` (
254 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
255 `genitive` varchar(15) NOT NULL default '',
256 `dative` varchar(15) NOT NULL default '',
257 `accusative` varchar(15) NOT NULL default '',
258 `instrumental` varchar(15) NOT NULL default '',
259 `prepositional` varchar(15) NOT NULL default '',
261 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
264 -- Dumping data for table `character_declinedname`
267 LOCK TABLES `character_declinedname` WRITE;
268 /*!40000 ALTER TABLE `character_declinedname` DISABLE KEYS */;
269 /*!40000 ALTER TABLE `character_declinedname` ENABLE KEYS */;
273 -- Table structure for table `character_gifts`
276 DROP TABLE IF EXISTS `character_gifts`;
277 CREATE TABLE `character_gifts` (
278 `guid` int(20) unsigned NOT NULL default '0',
279 `item_guid` int(11) unsigned NOT NULL default '0',
280 `entry` int(20) unsigned NOT NULL default '0',
281 `flags` int(20) unsigned NOT NULL default '0',
282 PRIMARY KEY (`item_guid`),
283 KEY `idx_guid` (`guid`)
284 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
287 -- Dumping data for table `character_gifts`
290 LOCK TABLES `character_gifts` WRITE;
291 /*!40000 ALTER TABLE `character_gifts` DISABLE KEYS */;
292 /*!40000 ALTER TABLE `character_gifts` ENABLE KEYS */;
296 -- Table structure for table `character_homebind`
299 DROP TABLE IF EXISTS `character_homebind`;
300 CREATE TABLE `character_homebind` (
301 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
302 `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
303 `zone` int(11) unsigned NOT NULL default '0' COMMENT 'Zone Identifier',
304 `position_x` float NOT NULL default '0',
305 `position_y` float NOT NULL default '0',
306 `position_z` float NOT NULL default '0',
308 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
311 -- Dumping data for table `character_homebind`
314 LOCK TABLES `character_homebind` WRITE;
315 /*!40000 ALTER TABLE `character_homebind` DISABLE KEYS */;
316 /*!40000 ALTER TABLE `character_homebind` ENABLE KEYS */;
320 -- Table structure for table `character_instance`
323 DROP TABLE IF EXISTS `character_instance`;
324 CREATE TABLE `character_instance` (
325 `guid` int(11) unsigned NOT NULL default '0',
326 `instance` int(11) unsigned NOT NULL default '0',
327 `permanent` tinyint(1) unsigned NOT NULL default '0',
328 PRIMARY KEY (`guid`,`instance`),
329 KEY `instance` (`instance`)
330 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
333 -- Dumping data for table `character_instance`
336 LOCK TABLES `character_instance` WRITE;
337 /*!40000 ALTER TABLE `character_instance` DISABLE KEYS */;
338 /*!40000 ALTER TABLE `character_instance` ENABLE KEYS */;
342 -- Table structure for table `character_inventory`
345 DROP TABLE IF EXISTS `character_inventory`;
346 CREATE TABLE `character_inventory` (
347 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
348 `bag` int(11) unsigned NOT NULL default '0',
349 `slot` tinyint(3) unsigned NOT NULL default '0',
350 `item` int(11) unsigned NOT NULL default '0' COMMENT 'Item Global Unique Identifier',
351 `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
352 PRIMARY KEY (`item`),
353 KEY `idx_guid` (`guid`)
354 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
357 -- Dumping data for table `character_inventory`
360 LOCK TABLES `character_inventory` WRITE;
361 /*!40000 ALTER TABLE `character_inventory` DISABLE KEYS */;
362 /*!40000 ALTER TABLE `character_inventory` ENABLE KEYS */;
366 -- Table structure for table `character_pet`
369 DROP TABLE IF EXISTS `character_pet`;
370 CREATE TABLE `character_pet` (
371 `id` int(11) unsigned NOT NULL default '0',
372 `entry` int(11) unsigned NOT NULL default '0',
373 `owner` int(11) unsigned NOT NULL default '0',
374 `modelid` int(11) unsigned default '0',
375 `CreatedBySpell` int(11) unsigned NOT NULL default '0',
376 `PetType` tinyint(3) unsigned NOT NULL default '0',
377 `level` int(11) unsigned NOT NULL default '1',
378 `exp` int(11) unsigned NOT NULL default '0',
379 `Reactstate` tinyint(1) unsigned NOT NULL default '0',
380 `loyaltypoints` int(11) NOT NULL default '0',
381 `loyalty` int(11) unsigned NOT NULL default '0',
382 `trainpoint` int(11) NOT NULL default '0',
383 `name` varchar(100) default 'Pet',
384 `renamed` tinyint(1) unsigned NOT NULL default '0',
385 `slot` int(11) unsigned NOT NULL default '0',
386 `curhealth` int(11) unsigned NOT NULL default '1',
387 `curmana` int(11) unsigned NOT NULL default '0',
388 `curhappiness` int(11) unsigned NOT NULL default '0',
389 `savetime` bigint(20) unsigned NOT NULL default '0',
390 `resettalents_cost` int(11) unsigned NOT NULL default '0',
391 `resettalents_time` bigint(20) unsigned NOT NULL default '0',
393 `teachspelldata` longtext,
395 KEY `owner` (`owner`)
396 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
399 -- Dumping data for table `character_pet`
402 LOCK TABLES `character_pet` WRITE;
403 /*!40000 ALTER TABLE `character_pet` DISABLE KEYS */;
404 /*!40000 ALTER TABLE `character_pet` ENABLE KEYS */;
408 -- Table structure for table `character_pet_declinedname`
411 DROP TABLE IF EXISTS `character_pet_declinedname`;
412 CREATE TABLE `character_pet_declinedname` (
413 `id` int(11) unsigned NOT NULL default '0',
414 `owner` int(11) unsigned NOT NULL default '0',
415 `genitive` varchar(12) NOT NULL default '',
416 `dative` varchar(12) NOT NULL default '',
417 `accusative` varchar(12) NOT NULL default '',
418 `instrumental` varchar(12) NOT NULL default '',
419 `prepositional` varchar(12) NOT NULL default '',
421 KEY owner_key (`owner`)
422 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
425 -- Dumping data for table `character_pet_declinedname`
428 LOCK TABLES `character_pet_declinedname` WRITE;
429 /*!40000 ALTER TABLE `character_pet_declinedname` DISABLE KEYS */;
430 /*!40000 ALTER TABLE `character_pet_declinedname` ENABLE KEYS */;
434 -- Table structure for table `character_queststatus`
437 DROP TABLE IF EXISTS `character_queststatus`;
438 CREATE TABLE `character_queststatus` (
439 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
440 `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
441 `status` int(11) unsigned NOT NULL default '0',
442 `rewarded` tinyint(1) unsigned NOT NULL default '0',
443 `explored` tinyint(1) unsigned NOT NULL default '0',
444 `timer` bigint(20) unsigned NOT NULL default '0',
445 `mobcount1` int(11) unsigned NOT NULL default '0',
446 `mobcount2` int(11) unsigned NOT NULL default '0',
447 `mobcount3` int(11) unsigned NOT NULL default '0',
448 `mobcount4` int(11) unsigned NOT NULL default '0',
449 `itemcount1` int(11) unsigned NOT NULL default '0',
450 `itemcount2` int(11) unsigned NOT NULL default '0',
451 `itemcount3` int(11) unsigned NOT NULL default '0',
452 `itemcount4` int(11) unsigned NOT NULL default '0',
453 PRIMARY KEY (`guid`,`quest`)
454 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
457 -- Dumping data for table `character_queststatus`
460 LOCK TABLES `character_queststatus` WRITE;
461 /*!40000 ALTER TABLE `character_queststatus` DISABLE KEYS */;
462 /*!40000 ALTER TABLE `character_queststatus` ENABLE KEYS */;
466 -- Table structure for table `character_queststatus_daily`
469 DROP TABLE IF EXISTS `character_queststatus_daily`;
470 CREATE TABLE `character_queststatus_daily` (
471 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
472 `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
473 `time` bigint(20) unsigned NOT NULL default '0',
474 PRIMARY KEY (`guid`,`quest`),
475 KEY `idx_guid` (`guid`)
476 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
479 -- Dumping data for table `character_queststatus_daily`
482 LOCK TABLES `character_queststatus_daily` WRITE;
483 /*!40000 ALTER TABLE `character_queststatus_daily` DISABLE KEYS */;
484 /*!40000 ALTER TABLE `character_queststatus_daily` ENABLE KEYS */;
488 -- Table structure for table `character_reputation`
491 DROP TABLE IF EXISTS `character_reputation`;
492 CREATE TABLE `character_reputation` (
493 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
494 `faction` int(11) unsigned NOT NULL default '0',
495 `standing` int(11) NOT NULL default '0',
496 `flags` int(11) NOT NULL default '0',
497 PRIMARY KEY (`guid`,`faction`)
498 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
501 -- Dumping data for table `character_reputation`
504 LOCK TABLES `character_reputation` WRITE;
505 /*!40000 ALTER TABLE `character_reputation` DISABLE KEYS */;
506 /*!40000 ALTER TABLE `character_reputation` ENABLE KEYS */;
510 -- Table structure for table `character_social`
513 DROP TABLE IF EXISTS `character_social`;
514 CREATE TABLE `character_social` (
515 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
516 `friend` int(11) unsigned NOT NULL default '0' COMMENT 'Friend Global Unique Identifier',
517 `flags` tinyint(1) unsigned NOT NULL default '0' COMMENT 'Friend Flags',
518 `note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note',
519 PRIMARY KEY (`guid`,`friend`,`flags`),
521 KEY `friend` (`friend`),
522 KEY `guid_flags` (`guid`,`flags`),
523 KEY `friend_flags` (`friend`,`flags`)
524 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
527 -- Dumping data for table `character_social`
530 LOCK TABLES `character_social` WRITE;
531 /*!40000 ALTER TABLE `character_social` DISABLE KEYS */;
532 /*!40000 ALTER TABLE `character_social` ENABLE KEYS */;
536 -- Table structure for table `character_spell`
539 DROP TABLE IF EXISTS `character_spell`;
540 CREATE TABLE `character_spell` (
541 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
542 `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
543 `slot` int(11) unsigned NOT NULL default '0',
544 `active` tinyint(3) unsigned NOT NULL default '1',
545 `disabled` tinyint(3) unsigned NOT NULL default '0',
546 PRIMARY KEY (`guid`,`spell`)
547 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
550 -- Dumping data for table `character_spell`
553 LOCK TABLES `character_spell` WRITE;
554 /*!40000 ALTER TABLE `character_spell` DISABLE KEYS */;
555 /*!40000 ALTER TABLE `character_spell` ENABLE KEYS */;
559 -- Table structure for table `character_spell_cooldown`
562 DROP TABLE IF EXISTS `character_spell_cooldown`;
563 CREATE TABLE `character_spell_cooldown` (
564 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
565 `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
566 `item` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
567 `time` bigint(20) unsigned NOT NULL default '0',
568 PRIMARY KEY (`guid`,`spell`)
569 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
572 -- Dumping data for table `character_spell_cooldown`
575 LOCK TABLES `character_spell_cooldown` WRITE;
576 /*!40000 ALTER TABLE `character_spell_cooldown` DISABLE KEYS */;
577 /*!40000 ALTER TABLE `character_spell_cooldown` ENABLE KEYS */;
581 -- Table structure for table `character_ticket`
584 DROP TABLE IF EXISTS `character_ticket`;
585 CREATE TABLE `character_ticket` (
586 `ticket_id` int(11) unsigned NOT NULL auto_increment,
587 `guid` int(11) unsigned NOT NULL default '0',
589 `ticket_lastchange` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
590 PRIMARY KEY (`ticket_id`)
591 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
594 -- Dumping data for table `character_ticket`
597 LOCK TABLES `character_ticket` WRITE;
598 /*!40000 ALTER TABLE `character_ticket` DISABLE KEYS */;
599 /*!40000 ALTER TABLE `character_ticket` ENABLE KEYS */;
603 -- Table structure for table `character_tutorial`
606 DROP TABLE IF EXISTS `character_tutorial`;
607 CREATE TABLE `character_tutorial` (
608 `account` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Account Identifier',
609 `realmid` int(11) unsigned NOT NULL default '0' COMMENT 'Realm Identifier',
610 `tut0` int(11) unsigned NOT NULL default '0',
611 `tut1` int(11) unsigned NOT NULL default '0',
612 `tut2` int(11) unsigned NOT NULL default '0',
613 `tut3` int(11) unsigned NOT NULL default '0',
614 `tut4` int(11) unsigned NOT NULL default '0',
615 `tut5` int(11) unsigned NOT NULL default '0',
616 `tut6` int(11) unsigned NOT NULL default '0',
617 `tut7` int(11) unsigned NOT NULL default '0',
618 PRIMARY KEY (`account`,`realmid`),
619 KEY acc_key (`account`)
620 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
623 -- Dumping data for table `character_tutorial`
626 LOCK TABLES `character_tutorial` WRITE;
627 /*!40000 ALTER TABLE `character_tutorial` DISABLE KEYS */;
628 /*!40000 ALTER TABLE `character_tutorial` ENABLE KEYS */;
632 -- Table structure for table `corpse`
635 DROP TABLE IF EXISTS `corpse`;
636 CREATE TABLE `corpse` (
637 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
638 `player` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
639 `position_x` float NOT NULL default '0',
640 `position_y` float NOT NULL default '0',
641 `position_z` float NOT NULL default '0',
642 `orientation` float NOT NULL default '0',
643 `zone` int(11) unsigned NOT NULL default '38' COMMENT 'Zone Identifier',
644 `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
646 `time` bigint(20) unsigned NOT NULL default '0',
647 `corpse_type` tinyint(3) unsigned NOT NULL default '0',
648 `instance` int(11) unsigned NOT NULL default '0',
649 PRIMARY KEY (`guid`),
650 KEY `idx_type` (`corpse_type`),
651 KEY `instance` (`instance`)
652 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Death System';
655 -- Dumping data for table `corpse`
658 LOCK TABLES `corpse` WRITE;
659 /*!40000 ALTER TABLE `corpse` DISABLE KEYS */;
660 /*!40000 ALTER TABLE `corpse` ENABLE KEYS */;
664 -- Table structure for table `groups`
667 DROP TABLE IF EXISTS `groups`;
668 CREATE TABLE `groups` (
669 `leaderGuid` int(11) unsigned NOT NULL,
670 `mainTank` int(11) unsigned NOT NULL,
671 `mainAssistant` int(11) unsigned NOT NULL,
672 `lootMethod` tinyint(4) unsigned NOT NULL,
673 `looterGuid` int(11) unsigned NOT NULL,
674 `lootThreshold` tinyint(4) unsigned NOT NULL,
675 `icon1` int(11) unsigned NOT NULL,
676 `icon2` int(11) unsigned NOT NULL,
677 `icon3` int(11) unsigned NOT NULL,
678 `icon4` int(11) unsigned NOT NULL,
679 `icon5` int(11) unsigned NOT NULL,
680 `icon6` int(11) unsigned NOT NULL,
681 `icon7` int(11) unsigned NOT NULL,
682 `icon8` int(11) unsigned NOT NULL,
683 `isRaid` tinyint(1) unsigned NOT NULL,
684 `difficulty` tinyint(3) unsigned NOT NULL default '0',
685 PRIMARY KEY (`leaderGuid`)
686 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
689 -- Dumping data for table `groups`
692 LOCK TABLES `groups` WRITE;
693 /*!40000 ALTER TABLE `groups` DISABLE KEYS */;
694 /*!40000 ALTER TABLE `groups` ENABLE KEYS */;
697 -- ----------------------------
698 -- Table structure for group_instance
699 -- ----------------------------
700 DROP TABLE IF EXISTS `group_instance`;
701 CREATE TABLE `group_instance` (
702 `leaderGuid` int(11) unsigned NOT NULL default '0',
703 `instance` int(11) unsigned NOT NULL default '0',
704 `permanent` tinyint(1) unsigned NOT NULL default '0',
705 PRIMARY KEY (`leaderGuid`,`instance`),
706 KEY `instance` (`instance`)
707 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
710 -- Dumping data for table `group_instance`
713 LOCK TABLES `group_instance` WRITE;
714 /*!40000 ALTER TABLE `group_instance` DISABLE KEYS */;
715 /*!40000 ALTER TABLE `group_instance` ENABLE KEYS */;
719 -- Table structure for table `group_member`
722 DROP TABLE IF EXISTS `group_member`;
723 CREATE TABLE `group_member` (
724 `leaderGuid` int(11) unsigned NOT NULL,
725 `memberGuid` int(11) unsigned NOT NULL,
726 `assistant` tinyint(1) unsigned NOT NULL,
727 `subgroup` smallint(6) unsigned NOT NULL,
728 PRIMARY KEY (`leaderGuid`,`memberGuid`)
729 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
732 -- Dumping data for table `group_member`
735 LOCK TABLES `group_member` WRITE;
736 /*!40000 ALTER TABLE `group_member` DISABLE KEYS */;
737 /*!40000 ALTER TABLE `group_member` ENABLE KEYS */;
741 -- Table structure for table `guild`
744 DROP TABLE IF EXISTS `guild`;
745 CREATE TABLE `guild` (
746 `guildid` int(6) unsigned NOT NULL default '0',
747 `name` varchar(255) NOT NULL default '',
748 `leaderguid` int(6) unsigned NOT NULL default '0',
749 `EmblemStyle` int(5) NOT NULL default '0',
750 `EmblemColor` int(5) NOT NULL default '0',
751 `BorderStyle` int(5) NOT NULL default '0',
752 `BorderColor` int(5) NOT NULL default '0',
753 `BackgroundColor` int(5) NOT NULL default '0',
754 `info` text NOT NULL,
755 `motd` varchar(255) NOT NULL default '',
756 `createdate` datetime default NULL,
757 `BankMoney` bigint(20) NOT NULL default '0',
758 PRIMARY KEY (`guildid`)
759 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
762 -- Dumping data for table `guild`
765 LOCK TABLES `guild` WRITE;
766 /*!40000 ALTER TABLE `guild` DISABLE KEYS */;
767 /*!40000 ALTER TABLE `guild` ENABLE KEYS */;
771 -- Table structure for table `guild_bank_eventlog`
774 DROP TABLE IF EXISTS `guild_bank_eventlog`;
775 CREATE TABLE `guild_bank_eventlog` (
776 `guildid` int(11) unsigned NOT NULL default '0',
777 `LogGuid` int(11) unsigned NOT NULL default '0',
778 `LogEntry` tinyint(1) unsigned NOT NULL default '0',
779 `TabId` tinyint(1) unsigned NOT NULL default '0',
780 `PlayerGuid` int(11) unsigned NOT NULL default '0',
781 `ItemOrMoney` int(11) unsigned NOT NULL default '0',
782 `ItemStackCount` tinyint(3) unsigned NOT NULL default '0',
783 `DestTabId` tinyint(1) unsigned NOT NULL default '0',
784 `TimeStamp` bigint(20) unsigned NOT NULL default '0',
785 PRIMARY KEY (`guildid`,`LogGuid`),
786 KEY `guildid_key` (`guildid`)
787 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
790 -- Dumping data for table `guild_bank_eventlog`
793 LOCK TABLES `guild_bank_eventlog` WRITE;
794 /*!40000 ALTER TABLE `guild_bank_eventlog` DISABLE KEYS */;
795 /*!40000 ALTER TABLE `guild_bank_eventlog` ENABLE KEYS */;
799 -- Table structure for table `guild_bank_item`
802 DROP TABLE IF EXISTS `guild_bank_item`;
803 CREATE TABLE `guild_bank_item` (
804 `guildid` int(11) unsigned NOT NULL default '0',
805 `TabId` tinyint(1) unsigned NOT NULL default '0',
806 `SlotId` tinyint(3) unsigned NOT NULL default '0',
807 `item_guid` int(11) unsigned NOT NULL default '0',
808 `item_entry` int(11) unsigned NOT NULL default '0',
809 PRIMARY KEY (`guildid`,`tabid`,`slotid`),
810 KEY `guildid_key` (`guildid`)
811 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
814 -- Dumping data for table `guild_bank_item`
817 LOCK TABLES `guild_bank_item` WRITE;
818 /*!40000 ALTER TABLE `guild_bank_item` DISABLE KEYS */;
819 /*!40000 ALTER TABLE `guild_bank_item` ENABLE KEYS */;
823 -- Table structure for table `guild_bank_right`
826 DROP TABLE IF EXISTS `guild_bank_right`;
827 CREATE TABLE `guild_bank_right` (
828 `guildid` int(11) unsigned NOT NULL default '0',
829 `TabId` tinyint(1) unsigned NOT NULL default '0',
830 `rid` int(11) unsigned NOT NULL default '0',
831 `gbright` tinyint(3) unsigned NOT NULL default '0',
832 `SlotPerDay` int(11) unsigned NOT NULL default '0',
833 PRIMARY KEY (`guildid`,`TabId`,`rid`),
834 KEY `guildid_key` (`guildid`)
835 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
838 -- Dumping data for table `guild_bank_right`
841 LOCK TABLES `guild_bank_right` WRITE;
842 /*!40000 ALTER TABLE `guild_bank_right` DISABLE KEYS */;
843 /*!40000 ALTER TABLE `guild_bank_right` ENABLE KEYS */;
847 -- Table structure for table `guild_bank_tab`
850 DROP TABLE IF EXISTS `guild_bank_tab`;
851 CREATE TABLE `guild_bank_tab` (
852 `guildid` int(11) unsigned NOT NULL default '0',
853 `TabId` tinyint(1) unsigned NOT NULL default '0',
854 `TabName` varchar(100) NOT NULL default '',
855 `TabIcon` varchar(100) NOT NULL default '',
856 `TabText` varchar(500) NOT NULL default '',
857 PRIMARY KEY (`guildid`,`TabId`),
858 KEY `guildid_key` (`guildid`)
859 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
862 -- Dumping data for table `guild_bank_tab`
865 LOCK TABLES `guild_bank_tab` WRITE;
866 /*!40000 ALTER TABLE `guild_bank_tab` DISABLE KEYS */;
867 /*!40000 ALTER TABLE `guild_bank_tab` ENABLE KEYS */;
871 -- Table structure for table `guild_eventlog`
874 DROP TABLE IF EXISTS `guild_eventlog`;
875 CREATE TABLE `guild_eventlog` (
876 `guildid` int(11) NOT NULL COMMENT 'Guild Identificator',
877 `LogGuid` int(11) NOT NULL COMMENT 'Log entry identificator',
878 `EventType` tinyint(1) NOT NULL COMMENT 'Event type',
879 `PlayerGuid1` int(11) NOT NULL COMMENT 'Player 1',
880 `PlayerGuid2` int(11) NOT NULL COMMENT 'Player 2',
881 `NewRank` tinyint(2) NOT NULL COMMENT 'New rank(in case promotion/demotion)',
882 `TimeStamp` bigint(20) NOT NULL COMMENT 'Event UNIX time'
883 ) ENGINE = InnoDB DEFAULT CHARSET = latin1 COMMENT 'Guild Eventlog';
886 -- Dumping data for table `guild_eventlog`
889 LOCK TABLES `guild_eventlog` WRITE;
890 /*!40000 ALTER TABLE `guild_eventlog` DISABLE KEYS */;
891 /*!40000 ALTER TABLE `guild_eventlog` ENABLE KEYS */;
895 -- Table structure for table `guild_member`
898 DROP TABLE IF EXISTS `guild_member`;
899 CREATE TABLE `guild_member` (
900 `guildid` int(6) unsigned NOT NULL default '0',
901 `guid` int(11) unsigned NOT NULL default '0',
902 `rank` tinyint(2) unsigned NOT NULL default '0',
903 `pnote` varchar(255) NOT NULL default '',
904 `offnote` varchar(255) NOT NULL default '',
905 `BankResetTimeMoney` int(11) unsigned NOT NULL default '0',
906 `BankRemMoney` int(11) unsigned NOT NULL default '0',
907 `BankResetTimeTab0` int(11) unsigned NOT NULL default '0',
908 `BankRemSlotsTab0` int(11) unsigned NOT NULL default '0',
909 `BankResetTimeTab1` int(11) unsigned NOT NULL default '0',
910 `BankRemSlotsTab1` int(11) unsigned NOT NULL default '0',
911 `BankResetTimeTab2` int(11) unsigned NOT NULL default '0',
912 `BankRemSlotsTab2` int(11) unsigned NOT NULL default '0',
913 `BankResetTimeTab3` int(11) unsigned NOT NULL default '0',
914 `BankRemSlotsTab3` int(11) unsigned NOT NULL default '0',
915 `BankResetTimeTab4` int(11) unsigned NOT NULL default '0',
916 `BankRemSlotsTab4` int(11) unsigned NOT NULL default '0',
917 `BankResetTimeTab5` int(11) unsigned NOT NULL default '0',
918 `BankRemSlotsTab5` int(11) unsigned NOT NULL default '0',
919 KEY `guildid_key` (`guildid`),
920 KEY `guildid_rank_key` (`guildid`,`rank`),
921 KEY `guid_key` (`guid`)
922 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Guild System';
925 -- Dumping data for table `guild_member`
928 LOCK TABLES `guild_member` WRITE;
929 /*!40000 ALTER TABLE `guild_member` DISABLE KEYS */;
930 /*!40000 ALTER TABLE `guild_member` ENABLE KEYS */;
934 -- Table structure for table `guild_rank`
937 DROP TABLE IF EXISTS `guild_rank`;
938 CREATE TABLE `guild_rank` (
939 `guildid` int(6) unsigned NOT NULL default '0',
940 `rid` int(11) unsigned NOT NULL,
941 `rname` varchar(255) NOT NULL default '',
942 `rights` int(3) unsigned NOT NULL default '0',
943 `BankMoneyPerDay` int(11) unsigned NOT NULL default '0',
944 PRIMARY KEY (`guildid`,`rid`)
945 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
948 -- Dumping data for table `guild_rank`
951 LOCK TABLES `guild_rank` WRITE;
952 /*!40000 ALTER TABLE `guild_rank` DISABLE KEYS */;
953 /*!40000 ALTER TABLE `guild_rank` ENABLE KEYS */;
957 -- Table structure for table `instance`
960 DROP TABLE IF EXISTS `instance`;
961 CREATE TABLE `instance` (
962 `id` int(11) unsigned NOT NULL default '0',
963 `map` int(11) unsigned NOT NULL default '0',
964 `resettime` bigint(40) NOT NULL default '0',
965 `difficulty` tinyint(1) unsigned NOT NULL default '0',
969 KEY `resettime` (`resettime`)
970 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
973 -- Dumping data for table `instance`
976 LOCK TABLES `instance` WRITE;
977 /*!40000 ALTER TABLE `instance` DISABLE KEYS */;
978 /*!40000 ALTER TABLE `instance` ENABLE KEYS */;
981 -- ----------------------------
982 -- Table structure for instance_reset
983 -- ----------------------------
984 DROP TABLE IF EXISTS `instance_reset`;
985 CREATE TABLE `instance_reset` (
986 `mapid` int(11) unsigned NOT NULL default '0',
987 `resettime` bigint(40) NOT NULL default '0',
988 PRIMARY KEY (`mapid`)
989 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
992 -- Dumping data for table `instance_reset`
995 LOCK TABLES `instance_reset` WRITE;
996 /*!40000 ALTER TABLE `instance_reset` DISABLE KEYS */;
997 /*!40000 ALTER TABLE `instance_reset` ENABLE KEYS */;
1001 -- Table structure for table `item_instance`
1004 DROP TABLE IF EXISTS `item_instance`;
1005 CREATE TABLE `item_instance` (
1006 `guid` int(11) unsigned NOT NULL default '0',
1007 `owner_guid` int(11) unsigned NOT NULL default '0',
1009 PRIMARY KEY (`guid`),
1010 KEY `idx_owner_guid` (`owner_guid`)
1011 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item System';
1014 -- Dumping data for table `item_instance`
1017 LOCK TABLES `item_instance` WRITE;
1018 /*!40000 ALTER TABLE `item_instance` DISABLE KEYS */;
1019 /*!40000 ALTER TABLE `item_instance` ENABLE KEYS */;
1023 -- Table structure for table `item_text`
1026 DROP TABLE IF EXISTS `item_text`;
1027 CREATE TABLE `item_text` (
1028 `id` int(11) unsigned NOT NULL default '0',
1031 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
1034 -- Dumping data for table `item_text`
1037 LOCK TABLES `item_text` WRITE;
1038 /*!40000 ALTER TABLE `item_text` DISABLE KEYS */;
1039 /*!40000 ALTER TABLE `item_text` ENABLE KEYS */;
1043 -- Table structure for table `mail`
1046 DROP TABLE IF EXISTS `mail`;
1047 CREATE TABLE `mail` (
1048 `id` int(11) unsigned NOT NULL default '0' COMMENT 'Identifier',
1049 `messageType` tinyint(3) unsigned NOT NULL default '0',
1050 `stationery` tinyint(3) NOT NULL default '41',
1051 `mailTemplateId` mediumint(8) unsigned NOT NULL default '0',
1052 `sender` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1053 `receiver` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1055 `itemTextId` int(11) unsigned NOT NULL default '0',
1056 `has_items` tinyint(3) unsigned NOT NULL default '0',
1057 `expire_time` bigint(40) NOT NULL default '0',
1058 `deliver_time` bigint(40) NOT NULL default '0',
1059 `money` int(11) unsigned NOT NULL default '0',
1060 `cod` int(11) unsigned NOT NULL default '0',
1061 `checked` tinyint(3) unsigned NOT NULL default '0',
1063 KEY `idx_receiver` (`receiver`)
1064 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Mail System';
1067 -- Dumping data for table `mail`
1070 LOCK TABLES `mail` WRITE;
1071 /*!40000 ALTER TABLE `mail` DISABLE KEYS */;
1072 /*!40000 ALTER TABLE `mail` ENABLE KEYS */;
1076 -- Table structure for table `mail_items`
1079 DROP TABLE IF EXISTS `mail_items`;
1080 CREATE TABLE `mail_items` (
1081 `mail_id` int(11) NOT NULL default '0',
1082 `item_guid` int(11) NOT NULL default '0',
1083 `item_template` int(11) NOT NULL default '0',
1084 `receiver` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1085 PRIMARY KEY (`mail_id`,`item_guid`),
1086 KEY `idx_receiver` (`receiver`)
1087 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
1090 -- Dumping data for table `mail_items`
1093 LOCK TABLES `mail_items` WRITE;
1094 /*!40000 ALTER TABLE `mail_items` DISABLE KEYS */;
1095 /*!40000 ALTER TABLE `mail_items` ENABLE KEYS */;
1099 -- Table structure for table `pet_aura`
1102 DROP TABLE IF EXISTS `pet_aura`;
1103 CREATE TABLE `pet_aura` (
1104 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
1105 `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier',
1106 `spell` int(11) unsigned NOT NULL default '0',
1107 `effect_index` int(11) unsigned NOT NULL default '0',
1108 `amount` int(11) NOT NULL default '0',
1109 `maxduration` int(11) NOT NULL default '0',
1110 `remaintime` int(11) NOT NULL default '0',
1111 `remaincharges` int(11) NOT NULL default '0',
1112 PRIMARY KEY (`guid`,`spell`,`effect_index`)
1113 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
1116 -- Dumping data for table `pet_aura`
1119 LOCK TABLES `pet_aura` WRITE;
1120 /*!40000 ALTER TABLE `pet_aura` DISABLE KEYS */;
1121 /*!40000 ALTER TABLE `pet_aura` ENABLE KEYS */;
1125 -- Table structure for table `pet_spell`
1128 DROP TABLE IF EXISTS `pet_spell`;
1129 CREATE TABLE `pet_spell` (
1130 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
1131 `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
1132 `slot` int(11) unsigned NOT NULL default '0',
1133 `active` int(11) unsigned NOT NULL default '0',
1134 PRIMARY KEY (`guid`,`spell`)
1135 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
1138 -- Dumping data for table `pet_spell`
1141 LOCK TABLES `pet_spell` WRITE;
1142 /*!40000 ALTER TABLE `pet_spell` DISABLE KEYS */;
1143 /*!40000 ALTER TABLE `pet_spell` ENABLE KEYS */;
1147 -- Table structure for table `pet_spell_cooldown`
1150 DROP TABLE IF EXISTS `pet_spell_cooldown`;
1151 CREATE TABLE `pet_spell_cooldown` (
1152 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
1153 `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
1154 `time` bigint(20) unsigned NOT NULL default '0',
1155 PRIMARY KEY (`guid`,`spell`)
1156 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1159 -- Dumping data for table `pet_spell_cooldown`
1162 LOCK TABLES `pet_spell_cooldown` WRITE;
1163 /*!40000 ALTER TABLE `pet_spell_cooldown` DISABLE KEYS */;
1164 /*!40000 ALTER TABLE `pet_spell_cooldown` ENABLE KEYS */;
1168 -- Table structure for table `petition`
1171 DROP TABLE IF EXISTS `petition`;
1172 CREATE TABLE `petition` (
1173 `ownerguid` int(10) unsigned NOT NULL,
1174 `petitionguid` int(10) unsigned default '0',
1175 `name` varchar(255) NOT NULL default '',
1176 `type` int(10) unsigned NOT NULL default '0',
1177 PRIMARY KEY (`ownerguid`,`type`),
1178 UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
1179 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
1182 -- Dumping data for table `petition`
1185 LOCK TABLES `petition` WRITE;
1186 /*!40000 ALTER TABLE `petition` DISABLE KEYS */;
1187 /*!40000 ALTER TABLE `petition` ENABLE KEYS */;
1191 -- Table structure for table `petition_sign`
1194 DROP TABLE IF EXISTS `petition_sign`;
1195 CREATE TABLE `petition_sign` (
1196 `ownerguid` int(10) unsigned NOT NULL,
1197 `petitionguid` int(11) unsigned NOT NULL default '0',
1198 `playerguid` int(11) unsigned NOT NULL default '0',
1199 `player_account` int(11) unsigned NOT NULL default '0',
1200 `type` int(10) unsigned NOT NULL default '0',
1201 PRIMARY KEY (`petitionguid`,`playerguid`)
1202 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
1204 -- Dumping data for table `petition_sign`
1207 LOCK TABLES `petition_sign` WRITE;
1208 /*!40000 ALTER TABLE `petition_sign` DISABLE KEYS */;
1209 /*!40000 ALTER TABLE `petition_sign` ENABLE KEYS */;
1211 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
1213 /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
1214 /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
1215 /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
1216 /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
1217 /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
1218 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
1219 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
1221 -- Dump completed on 2008-01-10 11:37:06