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_2008_12_03_01_character_guild_member` 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 `arena_team`
42 DROP TABLE IF EXISTS `arena_team`;
43 CREATE TABLE `arena_team` (
44 `arenateamid` int(10) unsigned NOT NULL default '0',
45 `name` char(255) NOT NULL,
46 `captainguid` int(10) unsigned NOT NULL default '0',
47 `type` tinyint(3) unsigned NOT NULL default '0',
48 `BackgroundColor` int(10) unsigned NOT NULL default '0',
49 `EmblemStyle` int(10) unsigned NOT NULL default '0',
50 `EmblemColor` int(10) unsigned NOT NULL default '0',
51 `BorderStyle` int(10) unsigned NOT NULL default '0',
52 `BorderColor` int(10) unsigned NOT NULL default '0',
53 PRIMARY KEY (`arenateamid`)
54 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
57 -- Dumping data for table `arena_team`
60 LOCK TABLES `arena_team` WRITE;
61 /*!40000 ALTER TABLE `arena_team` DISABLE KEYS */;
62 /*!40000 ALTER TABLE `arena_team` ENABLE KEYS */;
66 -- Table structure for table `arena_team_member`
69 DROP TABLE IF EXISTS `arena_team_member`;
70 CREATE TABLE `arena_team_member` (
71 `arenateamid` int(10) unsigned NOT NULL default '0',
72 `guid` int(10) unsigned NOT NULL default '0',
73 `played_week` int(10) unsigned NOT NULL default '0',
74 `wons_week` int(10) unsigned NOT NULL default '0',
75 `played_season` int(10) unsigned NOT NULL default '0',
76 `wons_season` int(10) unsigned NOT NULL default '0'
77 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
80 -- Dumping data for table `arena_team_member`
83 LOCK TABLES `arena_team_member` WRITE;
84 /*!40000 ALTER TABLE `arena_team_member` DISABLE KEYS */;
85 /*!40000 ALTER TABLE `arena_team_member` ENABLE KEYS */;
89 -- Table structure for table `arena_team_stats`
92 DROP TABLE IF EXISTS `arena_team_stats`;
93 CREATE TABLE `arena_team_stats` (
94 `arenateamid` int(10) unsigned NOT NULL default '0',
95 `rating` int(10) unsigned NOT NULL default '0',
96 `games` int(10) unsigned NOT NULL default '0',
97 `wins` int(10) unsigned NOT NULL default '0',
98 `played` int(10) unsigned NOT NULL default '0',
99 `wins2` int(10) unsigned NOT NULL default '0',
100 `rank` int(10) unsigned NOT NULL default '0',
101 PRIMARY KEY (`arenateamid`)
102 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
105 -- Dumping data for table `arena_team_stats`
108 LOCK TABLES `arena_team_stats` WRITE;
109 /*!40000 ALTER TABLE `arena_team_stats` DISABLE KEYS */;
110 /*!40000 ALTER TABLE `arena_team_stats` ENABLE KEYS */;
114 -- Table structure for table `auctionhouse`
117 DROP TABLE IF EXISTS `auctionhouse`;
118 CREATE TABLE `auctionhouse` (
119 `id` int(11) unsigned NOT NULL default '0',
120 `auctioneerguid` int(11) unsigned NOT NULL default '0',
121 `itemguid` int(11) unsigned NOT NULL default '0',
122 `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
123 `itemowner` int(11) unsigned NOT NULL default '0',
124 `buyoutprice` int(11) NOT NULL default '0',
125 `time` bigint(40) NOT NULL default '0',
126 `buyguid` int(11) unsigned NOT NULL default '0',
127 `lastbid` int(11) NOT NULL default '0',
128 `startbid` int(11) NOT NULL default '0',
129 `deposit` int(11) NOT NULL default '0',
130 `location` tinyint(3) unsigned NOT NULL default '3',
132 UNIQUE KEY `item_guid` (`itemguid`)
133 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
136 -- Dumping data for table `auctionhouse`
139 LOCK TABLES `auctionhouse` WRITE;
140 /*!40000 ALTER TABLE `auctionhouse` DISABLE KEYS */;
141 /*!40000 ALTER TABLE `auctionhouse` ENABLE KEYS */;
145 -- Table structure for table `bugreport`
148 DROP TABLE IF EXISTS `bugreport`;
149 CREATE TABLE `bugreport` (
150 `id` int(11) NOT NULL auto_increment COMMENT 'Identifier',
151 `type` varchar(255) NOT NULL default '',
152 `content` varchar(255) NOT NULL default '',
154 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Debug System';
157 -- Dumping data for table `bugreport`
160 LOCK TABLES `bugreport` WRITE;
161 /*!40000 ALTER TABLE `bugreport` DISABLE KEYS */;
162 /*!40000 ALTER TABLE `bugreport` ENABLE KEYS */;
166 -- Table structure for table `characters`
169 DROP TABLE IF EXISTS `characters`;
170 CREATE TABLE `characters` (
171 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
172 `account` int(11) unsigned NOT NULL default '0' COMMENT 'Account Identifier',
174 `name` varchar(12) NOT NULL default '',
175 `race` tinyint(3) unsigned NOT NULL default '0',
176 `class` tinyint(3) unsigned NOT NULL default '0',
177 `position_x` float NOT NULL default '0',
178 `position_y` float NOT NULL default '0',
179 `position_z` float NOT NULL default '0',
180 `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
181 `dungeon_difficulty` tinyint(1) unsigned NOT NULL DEFAULT '0',
182 `orientation` float NOT NULL default '0',
184 `online` tinyint(3) unsigned NOT NULL default '0',
185 `cinematic` tinyint(3) unsigned NOT NULL default '0',
186 `totaltime` int(11) unsigned NOT NULL default '0',
187 `leveltime` int(11) unsigned NOT NULL default '0',
188 `logout_time` bigint(20) unsigned NOT NULL default '0',
189 `is_logout_resting` tinyint(3) unsigned NOT NULL default '0',
190 `rest_bonus` float NOT NULL default '0',
191 `resettalents_cost` int(11) unsigned NOT NULL default '0',
192 `resettalents_time` bigint(20) unsigned NOT NULL default '0',
193 `trans_x` float NOT NULL default '0',
194 `trans_y` float NOT NULL default '0',
195 `trans_z` float NOT NULL default '0',
196 `trans_o` float NOT NULL default '0',
197 `transguid` bigint(20) unsigned NOT NULL default '0',
198 `extra_flags` int(11) unsigned NOT NULL default '0',
199 `stable_slots` tinyint(1) unsigned NOT NULL default '0',
200 `at_login` int(11) unsigned NOT NULL default '0',
201 `zone` int(11) unsigned NOT NULL default '0',
202 `death_expire_time` bigint(20) unsigned NOT NULL default '0',
204 PRIMARY KEY (`guid`),
205 KEY `idx_account` (`account`),
206 KEY `idx_online` (`online`),
207 KEY `idx_name` (`name`)
208 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
211 -- Dumping data for table `characters`
214 LOCK TABLES `characters` WRITE;
215 /*!40000 ALTER TABLE `characters` DISABLE KEYS */;
216 /*!40000 ALTER TABLE `characters` ENABLE KEYS */;
220 -- Table structure for table `character_action`
223 DROP TABLE IF EXISTS `character_action`;
224 CREATE TABLE `character_action` (
225 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
226 `button` tinyint(3) unsigned NOT NULL default '0',
227 `action` smallint(5) unsigned NOT NULL default '0',
228 `type` tinyint(3) unsigned NOT NULL default '0',
229 `misc` tinyint(3) unsigned NOT NULL default '0',
230 PRIMARY KEY (`guid`,`button`)
231 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
234 -- Dumping data for table `character_action`
237 LOCK TABLES `character_action` WRITE;
238 /*!40000 ALTER TABLE `character_action` DISABLE KEYS */;
239 /*!40000 ALTER TABLE `character_action` ENABLE KEYS */;
243 -- Table structure for table `character_aura`
246 DROP TABLE IF EXISTS `character_aura`;
247 CREATE TABLE `character_aura` (
248 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
249 `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier',
250 `spell` int(11) unsigned NOT NULL default '0',
251 `effect_index` int(11) unsigned NOT NULL default '0',
252 `amount` int(11) NOT NULL default '0',
253 `maxduration` int(11) NOT NULL default '0',
254 `remaintime` int(11) NOT NULL default '0',
255 `remaincharges` int(11) NOT NULL default '0',
256 PRIMARY KEY (`guid`,`spell`,`effect_index`)
257 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
260 -- Dumping data for table `character_aura`
263 LOCK TABLES `character_aura` WRITE;
264 /*!40000 ALTER TABLE `character_aura` DISABLE KEYS */;
265 /*!40000 ALTER TABLE `character_aura` ENABLE KEYS */;
269 -- Table structure for table `character_declinedname`
272 DROP TABLE IF EXISTS `character_declinedname`;
273 CREATE TABLE `character_declinedname` (
274 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
275 `genitive` varchar(15) NOT NULL default '',
276 `dative` varchar(15) NOT NULL default '',
277 `accusative` varchar(15) NOT NULL default '',
278 `instrumental` varchar(15) NOT NULL default '',
279 `prepositional` varchar(15) NOT NULL default '',
281 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
284 -- Dumping data for table `character_declinedname`
287 LOCK TABLES `character_declinedname` WRITE;
288 /*!40000 ALTER TABLE `character_declinedname` DISABLE KEYS */;
289 /*!40000 ALTER TABLE `character_declinedname` ENABLE KEYS */;
293 -- Table structure for table `character_gifts`
296 DROP TABLE IF EXISTS `character_gifts`;
297 CREATE TABLE `character_gifts` (
298 `guid` int(20) unsigned NOT NULL default '0',
299 `item_guid` int(11) unsigned NOT NULL default '0',
300 `entry` int(20) unsigned NOT NULL default '0',
301 `flags` int(20) unsigned NOT NULL default '0',
302 PRIMARY KEY (`item_guid`),
303 KEY `idx_guid` (`guid`)
304 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
307 -- Dumping data for table `character_gifts`
310 LOCK TABLES `character_gifts` WRITE;
311 /*!40000 ALTER TABLE `character_gifts` DISABLE KEYS */;
312 /*!40000 ALTER TABLE `character_gifts` ENABLE KEYS */;
316 -- Table structure for table `character_homebind`
319 DROP TABLE IF EXISTS `character_homebind`;
320 CREATE TABLE `character_homebind` (
321 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
322 `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
323 `zone` int(11) unsigned NOT NULL default '0' COMMENT 'Zone Identifier',
324 `position_x` float NOT NULL default '0',
325 `position_y` float NOT NULL default '0',
326 `position_z` float NOT NULL default '0',
328 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
331 -- Dumping data for table `character_homebind`
334 LOCK TABLES `character_homebind` WRITE;
335 /*!40000 ALTER TABLE `character_homebind` DISABLE KEYS */;
336 /*!40000 ALTER TABLE `character_homebind` ENABLE KEYS */;
340 -- Table structure for table `character_instance`
343 DROP TABLE IF EXISTS `character_instance`;
344 CREATE TABLE `character_instance` (
345 `guid` int(11) unsigned NOT NULL default '0',
346 `instance` int(11) unsigned NOT NULL default '0',
347 `permanent` tinyint(1) unsigned NOT NULL default '0',
348 PRIMARY KEY (`guid`,`instance`),
349 KEY `instance` (`instance`)
350 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
353 -- Dumping data for table `character_instance`
356 LOCK TABLES `character_instance` WRITE;
357 /*!40000 ALTER TABLE `character_instance` DISABLE KEYS */;
358 /*!40000 ALTER TABLE `character_instance` ENABLE KEYS */;
362 -- Table structure for table `character_inventory`
365 DROP TABLE IF EXISTS `character_inventory`;
366 CREATE TABLE `character_inventory` (
367 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
368 `bag` int(11) unsigned NOT NULL default '0',
369 `slot` tinyint(3) unsigned NOT NULL default '0',
370 `item` int(11) unsigned NOT NULL default '0' COMMENT 'Item Global Unique Identifier',
371 `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
372 PRIMARY KEY (`item`),
373 KEY `idx_guid` (`guid`)
374 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
377 -- Dumping data for table `character_inventory`
380 LOCK TABLES `character_inventory` WRITE;
381 /*!40000 ALTER TABLE `character_inventory` DISABLE KEYS */;
382 /*!40000 ALTER TABLE `character_inventory` ENABLE KEYS */;
386 -- Table structure for table `character_pet`
389 DROP TABLE IF EXISTS `character_pet`;
390 CREATE TABLE `character_pet` (
391 `id` int(11) unsigned NOT NULL default '0',
392 `entry` int(11) unsigned NOT NULL default '0',
393 `owner` int(11) unsigned NOT NULL default '0',
394 `modelid` int(11) unsigned default '0',
395 `CreatedBySpell` int(11) unsigned NOT NULL default '0',
396 `PetType` tinyint(3) unsigned NOT NULL default '0',
397 `level` int(11) unsigned NOT NULL default '1',
398 `exp` int(11) unsigned NOT NULL default '0',
399 `Reactstate` tinyint(1) unsigned NOT NULL default '0',
400 `loyaltypoints` int(11) NOT NULL default '0',
401 `loyalty` int(11) unsigned NOT NULL default '0',
402 `trainpoint` int(11) NOT NULL default '0',
403 `name` varchar(100) default 'Pet',
404 `renamed` tinyint(1) unsigned NOT NULL default '0',
405 `slot` int(11) unsigned NOT NULL default '0',
406 `curhealth` int(11) unsigned NOT NULL default '1',
407 `curmana` int(11) unsigned NOT NULL default '0',
408 `curhappiness` int(11) unsigned NOT NULL default '0',
409 `savetime` bigint(20) unsigned NOT NULL default '0',
410 `resettalents_cost` int(11) unsigned NOT NULL default '0',
411 `resettalents_time` bigint(20) unsigned NOT NULL default '0',
413 `teachspelldata` longtext,
415 KEY `owner` (`owner`)
416 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
419 -- Dumping data for table `character_pet`
422 LOCK TABLES `character_pet` WRITE;
423 /*!40000 ALTER TABLE `character_pet` DISABLE KEYS */;
424 /*!40000 ALTER TABLE `character_pet` ENABLE KEYS */;
428 -- Table structure for table `character_pet_declinedname`
431 DROP TABLE IF EXISTS `character_pet_declinedname`;
432 CREATE TABLE `character_pet_declinedname` (
433 `id` int(11) unsigned NOT NULL default '0',
434 `owner` int(11) unsigned NOT NULL default '0',
435 `genitive` varchar(12) NOT NULL default '',
436 `dative` varchar(12) NOT NULL default '',
437 `accusative` varchar(12) NOT NULL default '',
438 `instrumental` varchar(12) NOT NULL default '',
439 `prepositional` varchar(12) NOT NULL default '',
441 KEY owner_key (`owner`)
442 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
445 -- Dumping data for table `character_pet_declinedname`
448 LOCK TABLES `character_pet_declinedname` WRITE;
449 /*!40000 ALTER TABLE `character_pet_declinedname` DISABLE KEYS */;
450 /*!40000 ALTER TABLE `character_pet_declinedname` ENABLE KEYS */;
454 -- Table structure for table `character_queststatus`
457 DROP TABLE IF EXISTS `character_queststatus`;
458 CREATE TABLE `character_queststatus` (
459 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
460 `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
461 `status` int(11) unsigned NOT NULL default '0',
462 `rewarded` tinyint(1) unsigned NOT NULL default '0',
463 `explored` tinyint(1) unsigned NOT NULL default '0',
464 `timer` bigint(20) unsigned NOT NULL default '0',
465 `mobcount1` int(11) unsigned NOT NULL default '0',
466 `mobcount2` int(11) unsigned NOT NULL default '0',
467 `mobcount3` int(11) unsigned NOT NULL default '0',
468 `mobcount4` int(11) unsigned NOT NULL default '0',
469 `itemcount1` int(11) unsigned NOT NULL default '0',
470 `itemcount2` int(11) unsigned NOT NULL default '0',
471 `itemcount3` int(11) unsigned NOT NULL default '0',
472 `itemcount4` int(11) unsigned NOT NULL default '0',
473 PRIMARY KEY (`guid`,`quest`)
474 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
477 -- Dumping data for table `character_queststatus`
480 LOCK TABLES `character_queststatus` WRITE;
481 /*!40000 ALTER TABLE `character_queststatus` DISABLE KEYS */;
482 /*!40000 ALTER TABLE `character_queststatus` ENABLE KEYS */;
486 -- Table structure for table `character_queststatus_daily`
489 DROP TABLE IF EXISTS `character_queststatus_daily`;
490 CREATE TABLE `character_queststatus_daily` (
491 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
492 `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
493 `time` bigint(20) unsigned NOT NULL default '0',
494 PRIMARY KEY (`guid`,`quest`),
495 KEY `idx_guid` (`guid`)
496 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
499 -- Dumping data for table `character_queststatus_daily`
502 LOCK TABLES `character_queststatus_daily` WRITE;
503 /*!40000 ALTER TABLE `character_queststatus_daily` DISABLE KEYS */;
504 /*!40000 ALTER TABLE `character_queststatus_daily` ENABLE KEYS */;
508 -- Table structure for table `character_reputation`
511 DROP TABLE IF EXISTS `character_reputation`;
512 CREATE TABLE `character_reputation` (
513 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
514 `faction` int(11) unsigned NOT NULL default '0',
515 `standing` int(11) NOT NULL default '0',
516 `flags` int(11) NOT NULL default '0',
517 PRIMARY KEY (`guid`,`faction`)
518 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
521 -- Dumping data for table `character_reputation`
524 LOCK TABLES `character_reputation` WRITE;
525 /*!40000 ALTER TABLE `character_reputation` DISABLE KEYS */;
526 /*!40000 ALTER TABLE `character_reputation` ENABLE KEYS */;
530 -- Table structure for table `character_social`
533 DROP TABLE IF EXISTS `character_social`;
534 CREATE TABLE `character_social` (
535 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
536 `friend` int(11) unsigned NOT NULL default '0' COMMENT 'Friend Global Unique Identifier',
537 `flags` tinyint(1) unsigned NOT NULL default '0' COMMENT 'Friend Flags',
538 `note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note',
539 PRIMARY KEY (`guid`,`friend`,`flags`),
541 KEY `friend` (`friend`),
542 KEY `guid_flags` (`guid`,`flags`),
543 KEY `friend_flags` (`friend`,`flags`)
544 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
547 -- Dumping data for table `character_social`
550 LOCK TABLES `character_social` WRITE;
551 /*!40000 ALTER TABLE `character_social` DISABLE KEYS */;
552 /*!40000 ALTER TABLE `character_social` ENABLE KEYS */;
556 -- Table structure for table `character_spell`
559 DROP TABLE IF EXISTS `character_spell`;
560 CREATE TABLE `character_spell` (
561 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
562 `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
563 `slot` int(11) unsigned NOT NULL default '0',
564 `active` tinyint(3) unsigned NOT NULL default '1',
565 `disabled` tinyint(3) unsigned NOT NULL default '0',
566 PRIMARY KEY (`guid`,`spell`)
567 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
570 -- Dumping data for table `character_spell`
573 LOCK TABLES `character_spell` WRITE;
574 /*!40000 ALTER TABLE `character_spell` DISABLE KEYS */;
575 /*!40000 ALTER TABLE `character_spell` ENABLE KEYS */;
579 -- Table structure for table `character_spell_cooldown`
582 DROP TABLE IF EXISTS `character_spell_cooldown`;
583 CREATE TABLE `character_spell_cooldown` (
584 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
585 `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
586 `item` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
587 `time` bigint(20) unsigned NOT NULL default '0',
588 PRIMARY KEY (`guid`,`spell`)
589 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
592 -- Dumping data for table `character_spell_cooldown`
595 LOCK TABLES `character_spell_cooldown` WRITE;
596 /*!40000 ALTER TABLE `character_spell_cooldown` DISABLE KEYS */;
597 /*!40000 ALTER TABLE `character_spell_cooldown` ENABLE KEYS */;
601 -- Table structure for table `character_ticket`
604 DROP TABLE IF EXISTS `character_ticket`;
605 CREATE TABLE `character_ticket` (
606 `ticket_id` int(11) unsigned NOT NULL auto_increment,
607 `guid` int(11) unsigned NOT NULL default '0',
609 `ticket_lastchange` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
610 PRIMARY KEY (`ticket_id`)
611 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
614 -- Dumping data for table `character_ticket`
617 LOCK TABLES `character_ticket` WRITE;
618 /*!40000 ALTER TABLE `character_ticket` DISABLE KEYS */;
619 /*!40000 ALTER TABLE `character_ticket` ENABLE KEYS */;
623 -- Table structure for table `character_tutorial`
626 DROP TABLE IF EXISTS `character_tutorial`;
627 CREATE TABLE `character_tutorial` (
628 `account` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Account Identifier',
629 `realmid` int(11) unsigned NOT NULL default '0' COMMENT 'Realm Identifier',
630 `tut0` int(11) unsigned NOT NULL default '0',
631 `tut1` int(11) unsigned NOT NULL default '0',
632 `tut2` int(11) unsigned NOT NULL default '0',
633 `tut3` int(11) unsigned NOT NULL default '0',
634 `tut4` int(11) unsigned NOT NULL default '0',
635 `tut5` int(11) unsigned NOT NULL default '0',
636 `tut6` int(11) unsigned NOT NULL default '0',
637 `tut7` int(11) unsigned NOT NULL default '0',
638 PRIMARY KEY (`account`,`realmid`),
639 KEY acc_key (`account`)
640 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
643 -- Dumping data for table `character_tutorial`
646 LOCK TABLES `character_tutorial` WRITE;
647 /*!40000 ALTER TABLE `character_tutorial` DISABLE KEYS */;
648 /*!40000 ALTER TABLE `character_tutorial` ENABLE KEYS */;
652 -- Table structure for table `corpse`
655 DROP TABLE IF EXISTS `corpse`;
656 CREATE TABLE `corpse` (
657 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
658 `player` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
659 `position_x` float NOT NULL default '0',
660 `position_y` float NOT NULL default '0',
661 `position_z` float NOT NULL default '0',
662 `orientation` float NOT NULL default '0',
663 `zone` int(11) unsigned NOT NULL default '38' COMMENT 'Zone Identifier',
664 `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
666 `time` bigint(20) unsigned NOT NULL default '0',
667 `corpse_type` tinyint(3) unsigned NOT NULL default '0',
668 `instance` int(11) unsigned NOT NULL default '0',
669 PRIMARY KEY (`guid`),
670 KEY `idx_type` (`corpse_type`),
671 KEY `instance` (`instance`)
672 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Death System';
675 -- Dumping data for table `corpse`
678 LOCK TABLES `corpse` WRITE;
679 /*!40000 ALTER TABLE `corpse` DISABLE KEYS */;
680 /*!40000 ALTER TABLE `corpse` ENABLE KEYS */;
684 -- Table structure for table `groups`
687 DROP TABLE IF EXISTS `groups`;
688 CREATE TABLE `groups` (
689 `leaderGuid` int(11) unsigned NOT NULL,
690 `mainTank` int(11) unsigned NOT NULL,
691 `mainAssistant` int(11) unsigned NOT NULL,
692 `lootMethod` tinyint(4) unsigned NOT NULL,
693 `looterGuid` int(11) unsigned NOT NULL,
694 `lootThreshold` tinyint(4) unsigned NOT NULL,
695 `icon1` int(11) unsigned NOT NULL,
696 `icon2` int(11) unsigned NOT NULL,
697 `icon3` int(11) unsigned NOT NULL,
698 `icon4` int(11) unsigned NOT NULL,
699 `icon5` int(11) unsigned NOT NULL,
700 `icon6` int(11) unsigned NOT NULL,
701 `icon7` int(11) unsigned NOT NULL,
702 `icon8` int(11) unsigned NOT NULL,
703 `isRaid` tinyint(1) unsigned NOT NULL,
704 `difficulty` tinyint(3) unsigned NOT NULL default '0',
705 PRIMARY KEY (`leaderGuid`)
706 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
709 -- Dumping data for table `groups`
712 LOCK TABLES `groups` WRITE;
713 /*!40000 ALTER TABLE `groups` DISABLE KEYS */;
714 /*!40000 ALTER TABLE `groups` ENABLE KEYS */;
717 -- ----------------------------
718 -- Table structure for group_instance
719 -- ----------------------------
720 DROP TABLE IF EXISTS `group_instance`;
721 CREATE TABLE `group_instance` (
722 `leaderGuid` int(11) unsigned NOT NULL default '0',
723 `instance` int(11) unsigned NOT NULL default '0',
724 `permanent` tinyint(1) unsigned NOT NULL default '0',
725 PRIMARY KEY (`leaderGuid`,`instance`),
726 KEY `instance` (`instance`)
727 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
730 -- Dumping data for table `group_instance`
733 LOCK TABLES `group_instance` WRITE;
734 /*!40000 ALTER TABLE `group_instance` DISABLE KEYS */;
735 /*!40000 ALTER TABLE `group_instance` ENABLE KEYS */;
739 -- Table structure for table `group_member`
742 DROP TABLE IF EXISTS `group_member`;
743 CREATE TABLE `group_member` (
744 `leaderGuid` int(11) unsigned NOT NULL,
745 `memberGuid` int(11) unsigned NOT NULL,
746 `assistant` tinyint(1) unsigned NOT NULL,
747 `subgroup` smallint(6) unsigned NOT NULL,
748 PRIMARY KEY (`leaderGuid`,`memberGuid`)
749 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
752 -- Dumping data for table `group_member`
755 LOCK TABLES `group_member` WRITE;
756 /*!40000 ALTER TABLE `group_member` DISABLE KEYS */;
757 /*!40000 ALTER TABLE `group_member` ENABLE KEYS */;
761 -- Table structure for table `guild`
764 DROP TABLE IF EXISTS `guild`;
765 CREATE TABLE `guild` (
766 `guildid` int(6) unsigned NOT NULL default '0',
767 `name` varchar(255) NOT NULL default '',
768 `leaderguid` int(6) unsigned NOT NULL default '0',
769 `EmblemStyle` int(5) NOT NULL default '0',
770 `EmblemColor` int(5) NOT NULL default '0',
771 `BorderStyle` int(5) NOT NULL default '0',
772 `BorderColor` int(5) NOT NULL default '0',
773 `BackgroundColor` int(5) NOT NULL default '0',
774 `info` text NOT NULL,
775 `motd` varchar(255) NOT NULL default '',
776 `createdate` datetime default NULL,
777 `BankMoney` bigint(20) NOT NULL default '0',
778 PRIMARY KEY (`guildid`)
779 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
782 -- Dumping data for table `guild`
785 LOCK TABLES `guild` WRITE;
786 /*!40000 ALTER TABLE `guild` DISABLE KEYS */;
787 /*!40000 ALTER TABLE `guild` ENABLE KEYS */;
791 -- Table structure for table `guild_bank_eventlog`
794 DROP TABLE IF EXISTS `guild_bank_eventlog`;
795 CREATE TABLE `guild_bank_eventlog` (
796 `guildid` int(11) unsigned NOT NULL default '0',
797 `LogGuid` int(11) unsigned NOT NULL default '0',
798 `LogEntry` tinyint(1) unsigned NOT NULL default '0',
799 `TabId` tinyint(1) unsigned NOT NULL default '0',
800 `PlayerGuid` int(11) unsigned NOT NULL default '0',
801 `ItemOrMoney` int(11) unsigned NOT NULL default '0',
802 `ItemStackCount` tinyint(3) unsigned NOT NULL default '0',
803 `DestTabId` tinyint(1) unsigned NOT NULL default '0',
804 `TimeStamp` bigint(20) unsigned NOT NULL default '0',
805 PRIMARY KEY (`guildid`,`LogGuid`),
806 KEY `guildid_key` (`guildid`)
807 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
810 -- Dumping data for table `guild_bank_eventlog`
813 LOCK TABLES `guild_bank_eventlog` WRITE;
814 /*!40000 ALTER TABLE `guild_bank_eventlog` DISABLE KEYS */;
815 /*!40000 ALTER TABLE `guild_bank_eventlog` ENABLE KEYS */;
819 -- Table structure for table `guild_bank_item`
822 DROP TABLE IF EXISTS `guild_bank_item`;
823 CREATE TABLE `guild_bank_item` (
824 `guildid` int(11) unsigned NOT NULL default '0',
825 `TabId` tinyint(1) unsigned NOT NULL default '0',
826 `SlotId` tinyint(3) unsigned NOT NULL default '0',
827 `item_guid` int(11) unsigned NOT NULL default '0',
828 `item_entry` int(11) unsigned NOT NULL default '0',
829 PRIMARY KEY (`guildid`,`tabid`,`slotid`),
830 KEY `guildid_key` (`guildid`)
831 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
834 -- Dumping data for table `guild_bank_item`
837 LOCK TABLES `guild_bank_item` WRITE;
838 /*!40000 ALTER TABLE `guild_bank_item` DISABLE KEYS */;
839 /*!40000 ALTER TABLE `guild_bank_item` ENABLE KEYS */;
843 -- Table structure for table `guild_bank_right`
846 DROP TABLE IF EXISTS `guild_bank_right`;
847 CREATE TABLE `guild_bank_right` (
848 `guildid` int(11) unsigned NOT NULL default '0',
849 `TabId` tinyint(1) unsigned NOT NULL default '0',
850 `rid` int(11) unsigned NOT NULL default '0',
851 `gbright` tinyint(3) unsigned NOT NULL default '0',
852 `SlotPerDay` int(11) unsigned NOT NULL default '0',
853 PRIMARY KEY (`guildid`,`TabId`,`rid`),
854 KEY `guildid_key` (`guildid`)
855 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
858 -- Dumping data for table `guild_bank_right`
861 LOCK TABLES `guild_bank_right` WRITE;
862 /*!40000 ALTER TABLE `guild_bank_right` DISABLE KEYS */;
863 /*!40000 ALTER TABLE `guild_bank_right` ENABLE KEYS */;
867 -- Table structure for table `guild_bank_tab`
870 DROP TABLE IF EXISTS `guild_bank_tab`;
871 CREATE TABLE `guild_bank_tab` (
872 `guildid` int(11) unsigned NOT NULL default '0',
873 `TabId` tinyint(1) unsigned NOT NULL default '0',
874 `TabName` varchar(100) NOT NULL default '',
875 `TabIcon` varchar(100) NOT NULL default '',
877 PRIMARY KEY (`guildid`,`TabId`),
878 KEY `guildid_key` (`guildid`)
879 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
882 -- Dumping data for table `guild_bank_tab`
885 LOCK TABLES `guild_bank_tab` WRITE;
886 /*!40000 ALTER TABLE `guild_bank_tab` DISABLE KEYS */;
887 /*!40000 ALTER TABLE `guild_bank_tab` ENABLE KEYS */;
891 -- Table structure for table `guild_eventlog`
894 DROP TABLE IF EXISTS `guild_eventlog`;
895 CREATE TABLE `guild_eventlog` (
896 `guildid` int(11) NOT NULL COMMENT 'Guild Identificator',
897 `LogGuid` int(11) NOT NULL COMMENT 'Log entry identificator',
898 `EventType` tinyint(1) NOT NULL COMMENT 'Event type',
899 `PlayerGuid1` int(11) NOT NULL COMMENT 'Player 1',
900 `PlayerGuid2` int(11) NOT NULL COMMENT 'Player 2',
901 `NewRank` tinyint(2) NOT NULL COMMENT 'New rank(in case promotion/demotion)',
902 `TimeStamp` bigint(20) NOT NULL COMMENT 'Event UNIX time'
903 ) ENGINE = InnoDB DEFAULT CHARSET = latin1 COMMENT 'Guild Eventlog';
906 -- Dumping data for table `guild_eventlog`
909 LOCK TABLES `guild_eventlog` WRITE;
910 /*!40000 ALTER TABLE `guild_eventlog` DISABLE KEYS */;
911 /*!40000 ALTER TABLE `guild_eventlog` ENABLE KEYS */;
915 -- Table structure for table `guild_member`
918 DROP TABLE IF EXISTS `guild_member`;
919 CREATE TABLE `guild_member` (
920 `guildid` int(6) unsigned NOT NULL default '0',
921 `guid` int(11) unsigned NOT NULL default '0',
922 `rank` tinyint(2) unsigned NOT NULL default '0',
923 `pnote` varchar(255) NOT NULL default '',
924 `offnote` varchar(255) NOT NULL default '',
925 `BankResetTimeMoney` int(11) unsigned NOT NULL default '0',
926 `BankRemMoney` int(11) unsigned NOT NULL default '0',
927 `BankResetTimeTab0` int(11) unsigned NOT NULL default '0',
928 `BankRemSlotsTab0` int(11) unsigned NOT NULL default '0',
929 `BankResetTimeTab1` int(11) unsigned NOT NULL default '0',
930 `BankRemSlotsTab1` int(11) unsigned NOT NULL default '0',
931 `BankResetTimeTab2` int(11) unsigned NOT NULL default '0',
932 `BankRemSlotsTab2` int(11) unsigned NOT NULL default '0',
933 `BankResetTimeTab3` int(11) unsigned NOT NULL default '0',
934 `BankRemSlotsTab3` int(11) unsigned NOT NULL default '0',
935 `BankResetTimeTab4` int(11) unsigned NOT NULL default '0',
936 `BankRemSlotsTab4` int(11) unsigned NOT NULL default '0',
937 `BankResetTimeTab5` int(11) unsigned NOT NULL default '0',
938 `BankRemSlotsTab5` int(11) unsigned NOT NULL default '0',
939 KEY `guildid_key` (`guildid`),
940 KEY `guildid_rank_key` (`guildid`,`rank`),
941 UNIQUE KEY `guid_key` (`guid`)
942 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Guild System';
945 -- Dumping data for table `guild_member`
948 LOCK TABLES `guild_member` WRITE;
949 /*!40000 ALTER TABLE `guild_member` DISABLE KEYS */;
950 /*!40000 ALTER TABLE `guild_member` ENABLE KEYS */;
954 -- Table structure for table `guild_rank`
957 DROP TABLE IF EXISTS `guild_rank`;
958 CREATE TABLE `guild_rank` (
959 `guildid` int(6) unsigned NOT NULL default '0',
960 `rid` int(11) unsigned NOT NULL,
961 `rname` varchar(255) NOT NULL default '',
962 `rights` int(3) unsigned NOT NULL default '0',
963 `BankMoneyPerDay` int(11) unsigned NOT NULL default '0',
964 PRIMARY KEY (`guildid`,`rid`)
965 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
968 -- Dumping data for table `guild_rank`
971 LOCK TABLES `guild_rank` WRITE;
972 /*!40000 ALTER TABLE `guild_rank` DISABLE KEYS */;
973 /*!40000 ALTER TABLE `guild_rank` ENABLE KEYS */;
977 -- Table structure for table `instance`
980 DROP TABLE IF EXISTS `instance`;
981 CREATE TABLE `instance` (
982 `id` int(11) unsigned NOT NULL default '0',
983 `map` int(11) unsigned NOT NULL default '0',
984 `resettime` bigint(40) NOT NULL default '0',
985 `difficulty` tinyint(1) unsigned NOT NULL default '0',
989 KEY `resettime` (`resettime`)
990 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
993 -- Dumping data for table `instance`
996 LOCK TABLES `instance` WRITE;
997 /*!40000 ALTER TABLE `instance` DISABLE KEYS */;
998 /*!40000 ALTER TABLE `instance` ENABLE KEYS */;
1001 -- ----------------------------
1002 -- Table structure for instance_reset
1003 -- ----------------------------
1004 DROP TABLE IF EXISTS `instance_reset`;
1005 CREATE TABLE `instance_reset` (
1006 `mapid` int(11) unsigned NOT NULL default '0',
1007 `resettime` bigint(40) NOT NULL default '0',
1008 PRIMARY KEY (`mapid`)
1009 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1012 -- Dumping data for table `instance_reset`
1015 LOCK TABLES `instance_reset` WRITE;
1016 /*!40000 ALTER TABLE `instance_reset` DISABLE KEYS */;
1017 /*!40000 ALTER TABLE `instance_reset` ENABLE KEYS */;
1021 -- Table structure for table `item_instance`
1024 DROP TABLE IF EXISTS `item_instance`;
1025 CREATE TABLE `item_instance` (
1026 `guid` int(11) unsigned NOT NULL default '0',
1027 `owner_guid` int(11) unsigned NOT NULL default '0',
1029 PRIMARY KEY (`guid`),
1030 KEY `idx_owner_guid` (`owner_guid`)
1031 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item System';
1034 -- Dumping data for table `item_instance`
1037 LOCK TABLES `item_instance` WRITE;
1038 /*!40000 ALTER TABLE `item_instance` DISABLE KEYS */;
1039 /*!40000 ALTER TABLE `item_instance` ENABLE KEYS */;
1043 -- Table structure for table `item_text`
1046 DROP TABLE IF EXISTS `item_text`;
1047 CREATE TABLE `item_text` (
1048 `id` int(11) unsigned NOT NULL default '0',
1051 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
1054 -- Dumping data for table `item_text`
1057 LOCK TABLES `item_text` WRITE;
1058 /*!40000 ALTER TABLE `item_text` DISABLE KEYS */;
1059 /*!40000 ALTER TABLE `item_text` ENABLE KEYS */;
1063 -- Table structure for table `mail`
1066 DROP TABLE IF EXISTS `mail`;
1067 CREATE TABLE `mail` (
1068 `id` int(11) unsigned NOT NULL default '0' COMMENT 'Identifier',
1069 `messageType` tinyint(3) unsigned NOT NULL default '0',
1070 `stationery` tinyint(3) NOT NULL default '41',
1071 `mailTemplateId` mediumint(8) unsigned NOT NULL default '0',
1072 `sender` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1073 `receiver` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1075 `itemTextId` int(11) unsigned NOT NULL default '0',
1076 `has_items` tinyint(3) unsigned NOT NULL default '0',
1077 `expire_time` bigint(40) NOT NULL default '0',
1078 `deliver_time` bigint(40) NOT NULL default '0',
1079 `money` int(11) unsigned NOT NULL default '0',
1080 `cod` int(11) unsigned NOT NULL default '0',
1081 `checked` tinyint(3) unsigned NOT NULL default '0',
1083 KEY `idx_receiver` (`receiver`)
1084 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Mail System';
1087 -- Dumping data for table `mail`
1090 LOCK TABLES `mail` WRITE;
1091 /*!40000 ALTER TABLE `mail` DISABLE KEYS */;
1092 /*!40000 ALTER TABLE `mail` ENABLE KEYS */;
1096 -- Table structure for table `mail_items`
1099 DROP TABLE IF EXISTS `mail_items`;
1100 CREATE TABLE `mail_items` (
1101 `mail_id` int(11) NOT NULL default '0',
1102 `item_guid` int(11) NOT NULL default '0',
1103 `item_template` int(11) NOT NULL default '0',
1104 `receiver` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1105 PRIMARY KEY (`mail_id`,`item_guid`),
1106 KEY `idx_receiver` (`receiver`)
1107 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
1110 -- Dumping data for table `mail_items`
1113 LOCK TABLES `mail_items` WRITE;
1114 /*!40000 ALTER TABLE `mail_items` DISABLE KEYS */;
1115 /*!40000 ALTER TABLE `mail_items` ENABLE KEYS */;
1119 -- Table structure for table `pet_aura`
1122 DROP TABLE IF EXISTS `pet_aura`;
1123 CREATE TABLE `pet_aura` (
1124 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
1125 `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier',
1126 `spell` int(11) unsigned NOT NULL default '0',
1127 `effect_index` int(11) unsigned NOT NULL default '0',
1128 `amount` int(11) NOT NULL default '0',
1129 `maxduration` int(11) NOT NULL default '0',
1130 `remaintime` int(11) NOT NULL default '0',
1131 `remaincharges` int(11) NOT NULL default '0',
1132 PRIMARY KEY (`guid`,`spell`,`effect_index`)
1133 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
1136 -- Dumping data for table `pet_aura`
1139 LOCK TABLES `pet_aura` WRITE;
1140 /*!40000 ALTER TABLE `pet_aura` DISABLE KEYS */;
1141 /*!40000 ALTER TABLE `pet_aura` ENABLE KEYS */;
1145 -- Table structure for table `pet_spell`
1148 DROP TABLE IF EXISTS `pet_spell`;
1149 CREATE TABLE `pet_spell` (
1150 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
1151 `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
1152 `slot` int(11) unsigned NOT NULL default '0',
1153 `active` int(11) unsigned NOT NULL default '0',
1154 PRIMARY KEY (`guid`,`spell`)
1155 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
1158 -- Dumping data for table `pet_spell`
1161 LOCK TABLES `pet_spell` WRITE;
1162 /*!40000 ALTER TABLE `pet_spell` DISABLE KEYS */;
1163 /*!40000 ALTER TABLE `pet_spell` ENABLE KEYS */;
1167 -- Table structure for table `pet_spell_cooldown`
1170 DROP TABLE IF EXISTS `pet_spell_cooldown`;
1171 CREATE TABLE `pet_spell_cooldown` (
1172 `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
1173 `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
1174 `time` bigint(20) unsigned NOT NULL default '0',
1175 PRIMARY KEY (`guid`,`spell`)
1176 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1179 -- Dumping data for table `pet_spell_cooldown`
1182 LOCK TABLES `pet_spell_cooldown` WRITE;
1183 /*!40000 ALTER TABLE `pet_spell_cooldown` DISABLE KEYS */;
1184 /*!40000 ALTER TABLE `pet_spell_cooldown` ENABLE KEYS */;
1188 -- Table structure for table `petition`
1191 DROP TABLE IF EXISTS `petition`;
1192 CREATE TABLE `petition` (
1193 `ownerguid` int(10) unsigned NOT NULL,
1194 `petitionguid` int(10) unsigned default '0',
1195 `name` varchar(255) NOT NULL default '',
1196 `type` int(10) unsigned NOT NULL default '0',
1197 PRIMARY KEY (`ownerguid`,`type`),
1198 UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
1199 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
1202 -- Dumping data for table `petition`
1205 LOCK TABLES `petition` WRITE;
1206 /*!40000 ALTER TABLE `petition` DISABLE KEYS */;
1207 /*!40000 ALTER TABLE `petition` ENABLE KEYS */;
1211 -- Table structure for table `petition_sign`
1214 DROP TABLE IF EXISTS `petition_sign`;
1215 CREATE TABLE `petition_sign` (
1216 `ownerguid` int(10) unsigned NOT NULL,
1217 `petitionguid` int(11) unsigned NOT NULL default '0',
1218 `playerguid` int(11) unsigned NOT NULL default '0',
1219 `player_account` int(11) unsigned NOT NULL default '0',
1220 `type` int(10) unsigned NOT NULL default '0',
1221 PRIMARY KEY (`petitionguid`,`playerguid`)
1222 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
1224 -- Dumping data for table `petition_sign`
1227 LOCK TABLES `petition_sign` WRITE;
1228 /*!40000 ALTER TABLE `petition_sign` DISABLE KEYS */;
1229 /*!40000 ALTER TABLE `petition_sign` ENABLE KEYS */;
1231 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
1233 /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
1234 /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
1235 /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
1236 /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
1237 /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
1238 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
1239 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
1241 -- Dump completed on 2008-01-10 11:37:06