root/trunk/sql/characters.sql @ 9

Revision 2, 39.4 kB (checked in by yumileroy, 17 years ago)

[svn] * Proper SVN structure

Original author: Neo2003
Date: 2008-10-02 16:23:55-05:00

Line 
1-- MySQL dump 10.11
2--
3-- Host: localhost    Database: characters
4-- ------------------------------------------------------
5-- Server version       5.0.45-Debian_1ubuntu3.1-log
6
7/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
8/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
9/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
10/*!40101 SET NAMES utf8 */;
11/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
12/*!40103 SET TIME_ZONE='+00:00' */;
13/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
14/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
15/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
16/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
17
18--
19-- Table structure for table `arena_team`
20--
21
22DROP TABLE IF EXISTS `arena_team`;
23CREATE 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;
35
36--
37-- Dumping data for table `arena_team`
38--
39
40LOCK TABLES `arena_team` WRITE;
41/*!40000 ALTER TABLE `arena_team` DISABLE KEYS */;
42/*!40000 ALTER TABLE `arena_team` ENABLE KEYS */;
43UNLOCK TABLES;
44
45--
46-- Table structure for table `arena_team_member`
47--
48
49DROP TABLE IF EXISTS `arena_team_member`;
50CREATE 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;
58
59--
60-- Dumping data for table `arena_team_member`
61--
62
63LOCK TABLES `arena_team_member` WRITE;
64/*!40000 ALTER TABLE `arena_team_member` DISABLE KEYS */;
65/*!40000 ALTER TABLE `arena_team_member` ENABLE KEYS */;
66UNLOCK TABLES;
67
68--
69-- Table structure for table `arena_team_stats`
70--
71
72DROP TABLE IF EXISTS `arena_team_stats`;
73CREATE 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;
83
84--
85-- Dumping data for table `arena_team_stats`
86--
87
88LOCK TABLES `arena_team_stats` WRITE;
89/*!40000 ALTER TABLE `arena_team_stats` DISABLE KEYS */;
90/*!40000 ALTER TABLE `arena_team_stats` ENABLE KEYS */;
91UNLOCK TABLES;
92
93--
94-- Table structure for table `auctionhouse`
95--
96
97DROP TABLE IF EXISTS `auctionhouse`;
98CREATE 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',
111  PRIMARY KEY  (`id`),
112  UNIQUE KEY `item_guid` (`itemguid`)
113) ENGINE=InnoDB DEFAULT CHARSET=utf8;
114
115--
116-- Dumping data for table `auctionhouse`
117--
118
119LOCK TABLES `auctionhouse` WRITE;
120/*!40000 ALTER TABLE `auctionhouse` DISABLE KEYS */;
121/*!40000 ALTER TABLE `auctionhouse` ENABLE KEYS */;
122UNLOCK TABLES;
123
124--
125-- Table structure for table `bugreport`
126--
127
128DROP TABLE IF EXISTS `bugreport`;
129CREATE 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 '',
133  PRIMARY KEY  (`id`)
134) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Debug System';
135
136--
137-- Dumping data for table `bugreport`
138--
139
140LOCK TABLES `bugreport` WRITE;
141/*!40000 ALTER TABLE `bugreport` DISABLE KEYS */;
142/*!40000 ALTER TABLE `bugreport` ENABLE KEYS */;
143UNLOCK TABLES;
144
145--
146-- Table structure for table `characters`
147--
148
149DROP TABLE IF EXISTS `characters`;
150CREATE 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',
153  `data` longtext,
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',
163  `taximask` longtext,
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  `gmstate` tinyint(3) 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',
183  `taxi_path` text,
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';
189
190--
191-- Dumping data for table `characters`
192--
193
194LOCK TABLES `characters` WRITE;
195/*!40000 ALTER TABLE `characters` DISABLE KEYS */;
196/*!40000 ALTER TABLE `characters` ENABLE KEYS */;
197UNLOCK TABLES;
198
199--
200-- Table structure for table `character_action`
201--
202
203DROP TABLE IF EXISTS `character_action`;
204CREATE 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';
212
213--
214-- Dumping data for table `character_action`
215--
216
217LOCK TABLES `character_action` WRITE;
218/*!40000 ALTER TABLE `character_action` DISABLE KEYS */;
219/*!40000 ALTER TABLE `character_action` ENABLE KEYS */;
220UNLOCK TABLES;
221
222--
223-- Table structure for table `character_aura`
224--
225
226DROP TABLE IF EXISTS `character_aura`;
227CREATE 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';
238
239--
240-- Dumping data for table `character_aura`
241--
242
243LOCK TABLES `character_aura` WRITE;
244/*!40000 ALTER TABLE `character_aura` DISABLE KEYS */;
245/*!40000 ALTER TABLE `character_aura` ENABLE KEYS */;
246UNLOCK TABLES;
247
248--
249-- Table structure for table `character_declinedname`
250--
251
252DROP TABLE IF EXISTS `character_declinedname`;
253CREATE 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 '',
260  PRIMARY KEY  (`guid`)
261) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
262
263--
264-- Dumping data for table `character_declinedname`
265--
266
267LOCK TABLES `character_declinedname` WRITE;
268/*!40000 ALTER TABLE `character_declinedname` DISABLE KEYS */;
269/*!40000 ALTER TABLE `character_declinedname` ENABLE KEYS */;
270UNLOCK TABLES;
271
272--
273-- Table structure for table `character_gifts`
274--
275
276DROP TABLE IF EXISTS `character_gifts`;
277CREATE 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;
285
286--
287-- Dumping data for table `character_gifts`
288--
289
290LOCK TABLES `character_gifts` WRITE;
291/*!40000 ALTER TABLE `character_gifts` DISABLE KEYS */;
292/*!40000 ALTER TABLE `character_gifts` ENABLE KEYS */;
293UNLOCK TABLES;
294
295--
296-- Table structure for table `character_homebind`
297--
298
299DROP TABLE IF EXISTS `character_homebind`;
300CREATE 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',
307  PRIMARY KEY  (`guid`)
308) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
309
310--
311-- Dumping data for table `character_homebind`
312--
313
314LOCK TABLES `character_homebind` WRITE;
315/*!40000 ALTER TABLE `character_homebind` DISABLE KEYS */;
316/*!40000 ALTER TABLE `character_homebind` ENABLE KEYS */;
317UNLOCK TABLES;
318
319--
320-- Table structure for table `character_instance`
321--
322
323DROP TABLE IF EXISTS `character_instance`;
324CREATE 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;
331
332--
333-- Dumping data for table `character_instance`
334--
335
336LOCK TABLES `character_instance` WRITE;
337/*!40000 ALTER TABLE `character_instance` DISABLE KEYS */;
338/*!40000 ALTER TABLE `character_instance` ENABLE KEYS */;
339UNLOCK TABLES;
340
341--
342-- Table structure for table `character_inventory`
343--
344
345DROP TABLE IF EXISTS `character_inventory`;
346CREATE 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';
355
356--
357-- Dumping data for table `character_inventory`
358--
359
360LOCK TABLES `character_inventory` WRITE;
361/*!40000 ALTER TABLE `character_inventory` DISABLE KEYS */;
362/*!40000 ALTER TABLE `character_inventory` ENABLE KEYS */;
363UNLOCK TABLES;
364
365--
366-- Table structure for table `character_pet`
367--
368
369DROP TABLE IF EXISTS `character_pet`;
370CREATE 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',
392  `abdata` longtext,
393  `teachspelldata` longtext,
394  PRIMARY KEY  (`id`),
395  KEY `owner` (`owner`)
396) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
397
398--
399-- Dumping data for table `character_pet`
400--
401
402LOCK TABLES `character_pet` WRITE;
403/*!40000 ALTER TABLE `character_pet` DISABLE KEYS */;
404/*!40000 ALTER TABLE `character_pet` ENABLE KEYS */;
405UNLOCK TABLES;
406
407--
408-- Table structure for table `character_pet_declinedname`
409--
410
411DROP TABLE IF EXISTS `character_pet_declinedname`;
412CREATE 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 '',
420  PRIMARY KEY  (`id`),
421  KEY owner_key (`owner`)
422) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
423
424--
425-- Dumping data for table `character_pet_declinedname`
426--
427
428LOCK TABLES `character_pet_declinedname` WRITE;
429/*!40000 ALTER TABLE `character_pet_declinedname` DISABLE KEYS */;
430/*!40000 ALTER TABLE `character_pet_declinedname` ENABLE KEYS */;
431UNLOCK TABLES;
432
433--
434-- Table structure for table `character_queststatus`
435--
436
437DROP TABLE IF EXISTS `character_queststatus`;
438CREATE 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';
455
456--
457-- Dumping data for table `character_queststatus`
458--
459
460LOCK TABLES `character_queststatus` WRITE;
461/*!40000 ALTER TABLE `character_queststatus` DISABLE KEYS */;
462/*!40000 ALTER TABLE `character_queststatus` ENABLE KEYS */;
463UNLOCK TABLES;
464
465--
466-- Table structure for table `character_queststatus_daily`
467--
468
469DROP TABLE IF EXISTS `character_queststatus_daily`;
470CREATE 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';
477
478--
479-- Dumping data for table `character_queststatus_daily`
480--
481
482LOCK TABLES `character_queststatus_daily` WRITE;
483/*!40000 ALTER TABLE `character_queststatus_daily` DISABLE KEYS */;
484/*!40000 ALTER TABLE `character_queststatus_daily` ENABLE KEYS */;
485UNLOCK TABLES;
486
487--
488-- Table structure for table `character_reputation`
489--
490
491DROP TABLE IF EXISTS `character_reputation`;
492CREATE 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';
499
500--
501-- Dumping data for table `character_reputation`
502--
503
504LOCK TABLES `character_reputation` WRITE;
505/*!40000 ALTER TABLE `character_reputation` DISABLE KEYS */;
506/*!40000 ALTER TABLE `character_reputation` ENABLE KEYS */;
507UNLOCK TABLES;
508
509--
510-- Table structure for table `character_social`
511--
512
513DROP TABLE IF EXISTS `character_social`;
514CREATE 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`),
520  KEY `guid` (`guid`),
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';
525
526--
527-- Dumping data for table `character_social`
528--
529
530LOCK TABLES `character_social` WRITE;
531/*!40000 ALTER TABLE `character_social` DISABLE KEYS */;
532/*!40000 ALTER TABLE `character_social` ENABLE KEYS */;
533UNLOCK TABLES;
534
535--
536-- Table structure for table `character_spell`
537--
538
539DROP TABLE IF EXISTS `character_spell`;
540CREATE 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';
548
549--
550-- Dumping data for table `character_spell`
551--
552
553LOCK TABLES `character_spell` WRITE;
554/*!40000 ALTER TABLE `character_spell` DISABLE KEYS */;
555/*!40000 ALTER TABLE `character_spell` ENABLE KEYS */;
556UNLOCK TABLES;
557
558--
559-- Table structure for table `character_spell_cooldown`
560--
561
562DROP TABLE IF EXISTS `character_spell_cooldown`;
563CREATE 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;
570
571--
572-- Dumping data for table `character_spell_cooldown`
573--
574
575LOCK TABLES `character_spell_cooldown` WRITE;
576/*!40000 ALTER TABLE `character_spell_cooldown` DISABLE KEYS */;
577/*!40000 ALTER TABLE `character_spell_cooldown` ENABLE KEYS */;
578UNLOCK TABLES;
579
580--
581-- Table structure for table `character_ticket`
582--
583
584DROP TABLE IF EXISTS `character_ticket`;
585CREATE TABLE `character_ticket` (
586  `ticket_id` int(11) unsigned NOT NULL auto_increment,
587  `guid` int(11) unsigned NOT NULL default '0',
588  `ticket_text` text,
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';
592
593--
594-- Dumping data for table `character_ticket`
595--
596
597LOCK TABLES `character_ticket` WRITE;
598/*!40000 ALTER TABLE `character_ticket` DISABLE KEYS */;
599/*!40000 ALTER TABLE `character_ticket` ENABLE KEYS */;
600UNLOCK TABLES;
601
602--
603-- Table structure for table `character_tutorial`
604--
605
606DROP TABLE IF EXISTS `character_tutorial`;
607CREATE 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';
621
622--
623-- Dumping data for table `character_tutorial`
624--
625
626LOCK TABLES `character_tutorial` WRITE;
627/*!40000 ALTER TABLE `character_tutorial` DISABLE KEYS */;
628/*!40000 ALTER TABLE `character_tutorial` ENABLE KEYS */;
629UNLOCK TABLES;
630
631--
632-- Table structure for table `corpse`
633--
634
635DROP TABLE IF EXISTS `corpse`;
636CREATE 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',
645  `data` longtext,
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';
653
654--
655-- Dumping data for table `corpse`
656--
657
658LOCK TABLES `corpse` WRITE;
659/*!40000 ALTER TABLE `corpse` DISABLE KEYS */;
660/*!40000 ALTER TABLE `corpse` ENABLE KEYS */;
661UNLOCK TABLES;
662
663--
664-- Table structure for table `groups`
665--
666
667DROP TABLE IF EXISTS `groups`;
668CREATE 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';
687
688--
689-- Dumping data for table `groups`
690--
691
692LOCK TABLES `groups` WRITE;
693/*!40000 ALTER TABLE `groups` DISABLE KEYS */;
694/*!40000 ALTER TABLE `groups` ENABLE KEYS */;
695UNLOCK TABLES;
696
697-- ----------------------------
698-- Table structure for group_instance
699-- ----------------------------
700DROP TABLE IF EXISTS `group_instance`;
701CREATE 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;
708
709--
710-- Dumping data for table `group_instance`
711--
712
713LOCK TABLES `group_instance` WRITE;
714/*!40000 ALTER TABLE `group_instance` DISABLE KEYS */;
715/*!40000 ALTER TABLE `group_instance` ENABLE KEYS */;
716UNLOCK TABLES;
717
718--
719-- Table structure for table `group_member`
720--
721
722DROP TABLE IF EXISTS `group_member`;
723CREATE 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';
730
731--
732-- Dumping data for table `group_member`
733--
734
735LOCK TABLES `group_member` WRITE;
736/*!40000 ALTER TABLE `group_member` DISABLE KEYS */;
737/*!40000 ALTER TABLE `group_member` ENABLE KEYS */;
738UNLOCK TABLES;
739
740--
741-- Table structure for table `guild`
742--
743
744DROP TABLE IF EXISTS `guild`;
745CREATE 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';
760
761--
762-- Dumping data for table `guild`
763--
764
765LOCK TABLES `guild` WRITE;
766/*!40000 ALTER TABLE `guild` DISABLE KEYS */;
767/*!40000 ALTER TABLE `guild` ENABLE KEYS */;
768UNLOCK TABLES;
769
770--
771-- Table structure for table `guild_bank_eventlog`
772--
773
774DROP TABLE IF EXISTS `guild_bank_eventlog`;
775CREATE 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;
788
789--
790-- Dumping data for table `guild_bank_eventlog`
791--
792
793LOCK TABLES `guild_bank_eventlog` WRITE;
794/*!40000 ALTER TABLE `guild_bank_eventlog` DISABLE KEYS */;
795/*!40000 ALTER TABLE `guild_bank_eventlog` ENABLE KEYS */;
796UNLOCK TABLES;
797
798--
799-- Table structure for table `guild_bank_item`
800--
801
802DROP TABLE IF EXISTS `guild_bank_item`;
803CREATE 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;
812
813--
814-- Dumping data for table `guild_bank_item`
815--
816
817LOCK TABLES `guild_bank_item` WRITE;
818/*!40000 ALTER TABLE `guild_bank_item` DISABLE KEYS */;
819/*!40000 ALTER TABLE `guild_bank_item` ENABLE KEYS */;
820UNLOCK TABLES;
821
822--
823-- Table structure for table `guild_bank_right`
824--
825
826DROP TABLE IF EXISTS `guild_bank_right`;
827CREATE 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;
836
837--
838-- Dumping data for table `guild_bank_right`
839--
840
841LOCK TABLES `guild_bank_right` WRITE;
842/*!40000 ALTER TABLE `guild_bank_right` DISABLE KEYS */;
843/*!40000 ALTER TABLE `guild_bank_right` ENABLE KEYS */;
844UNLOCK TABLES;
845
846--
847-- Table structure for table `guild_bank_tab`
848--
849
850DROP TABLE IF EXISTS `guild_bank_tab`;
851CREATE 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;
860
861--
862-- Dumping data for table `guild_bank_tab`
863--
864
865LOCK TABLES `guild_bank_tab` WRITE;
866/*!40000 ALTER TABLE `guild_bank_tab` DISABLE KEYS */;
867/*!40000 ALTER TABLE `guild_bank_tab` ENABLE KEYS */;
868UNLOCK TABLES;
869
870--
871-- Table structure for table `guild_eventlog`
872--
873
874DROP TABLE IF EXISTS `guild_eventlog`;
875CREATE 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';
884
885--
886-- Dumping data for table `guild_eventlog`
887--
888
889LOCK TABLES `guild_eventlog` WRITE;
890/*!40000 ALTER TABLE `guild_eventlog` DISABLE KEYS */;
891/*!40000 ALTER TABLE `guild_eventlog` ENABLE KEYS */;
892UNLOCK TABLES;
893
894--
895-- Table structure for table `guild_member`
896--
897
898DROP TABLE IF EXISTS `guild_member`;
899CREATE 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';
923
924--
925-- Dumping data for table `guild_member`
926--
927
928LOCK TABLES `guild_member` WRITE;
929/*!40000 ALTER TABLE `guild_member` DISABLE KEYS */;
930/*!40000 ALTER TABLE `guild_member` ENABLE KEYS */;
931UNLOCK TABLES;
932
933--
934-- Table structure for table `guild_rank`
935--
936
937DROP TABLE IF EXISTS `guild_rank`;
938CREATE 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';
946
947--
948-- Dumping data for table `guild_rank`
949--
950
951LOCK TABLES `guild_rank` WRITE;
952/*!40000 ALTER TABLE `guild_rank` DISABLE KEYS */;
953/*!40000 ALTER TABLE `guild_rank` ENABLE KEYS */;
954UNLOCK TABLES;
955
956--
957-- Table structure for table `instance`
958--
959
960DROP TABLE IF EXISTS `instance`;
961CREATE 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',
966  `data` longtext,
967  PRIMARY KEY  (`id`),
968  KEY `map` (`map`),
969  KEY `resettime` (`resettime`)
970) ENGINE=InnoDB DEFAULT CHARSET=utf8;
971
972--
973-- Dumping data for table `instance`
974--
975
976LOCK TABLES `instance` WRITE;
977/*!40000 ALTER TABLE `instance` DISABLE KEYS */;
978/*!40000 ALTER TABLE `instance` ENABLE KEYS */;
979UNLOCK TABLES;
980
981-- ----------------------------
982-- Table structure for instance_reset
983-- ----------------------------
984DROP TABLE IF EXISTS `instance_reset`;
985CREATE 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;
990
991--
992-- Dumping data for table `instance_reset`
993--
994
995LOCK TABLES `instance_reset` WRITE;
996/*!40000 ALTER TABLE `instance_reset` DISABLE KEYS */;
997/*!40000 ALTER TABLE `instance_reset` ENABLE KEYS */;
998UNLOCK TABLES;
999
1000--
1001-- Table structure for table `item_instance`
1002--
1003
1004DROP TABLE IF EXISTS `item_instance`;
1005CREATE TABLE `item_instance` (
1006  `guid` int(11) unsigned NOT NULL default '0',
1007  `owner_guid` int(11) unsigned NOT NULL default '0',
1008  `data` longtext,
1009  PRIMARY KEY  (`guid`),
1010  KEY `idx_owner_guid` (`owner_guid`)
1011) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item System';
1012
1013--
1014-- Dumping data for table `item_instance`
1015--
1016
1017LOCK TABLES `item_instance` WRITE;
1018/*!40000 ALTER TABLE `item_instance` DISABLE KEYS */;
1019/*!40000 ALTER TABLE `item_instance` ENABLE KEYS */;
1020UNLOCK TABLES;
1021
1022--
1023-- Table structure for table `item_text`
1024--
1025
1026DROP TABLE IF EXISTS `item_text`;
1027CREATE TABLE `item_text` (
1028  `id` int(11) unsigned NOT NULL default '0',
1029  `text` longtext,
1030  PRIMARY KEY  (`id`)
1031) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
1032
1033--
1034-- Dumping data for table `item_text`
1035--
1036
1037LOCK TABLES `item_text` WRITE;
1038/*!40000 ALTER TABLE `item_text` DISABLE KEYS */;
1039/*!40000 ALTER TABLE `item_text` ENABLE KEYS */;
1040UNLOCK TABLES;
1041
1042--
1043-- Table structure for table `mail`
1044--
1045
1046DROP TABLE IF EXISTS `mail`;
1047CREATE 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',
1054  `subject` longtext,
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',
1062  PRIMARY KEY  (`id`),
1063  KEY `idx_receiver` (`receiver`)
1064) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Mail System';
1065
1066--
1067-- Dumping data for table `mail`
1068--
1069
1070LOCK TABLES `mail` WRITE;
1071/*!40000 ALTER TABLE `mail` DISABLE KEYS */;
1072/*!40000 ALTER TABLE `mail` ENABLE KEYS */;
1073UNLOCK TABLES;
1074
1075--
1076-- Table structure for table `mail_items`
1077--
1078
1079DROP TABLE IF EXISTS `mail_items`;
1080CREATE 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;
1088
1089--
1090-- Dumping data for table `mail_items`
1091--
1092
1093LOCK TABLES `mail_items` WRITE;
1094/*!40000 ALTER TABLE `mail_items` DISABLE KEYS */;
1095/*!40000 ALTER TABLE `mail_items` ENABLE KEYS */;
1096UNLOCK TABLES;
1097
1098--
1099-- Table structure for table `pet_aura`
1100--
1101
1102DROP TABLE IF EXISTS `pet_aura`;
1103CREATE 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';
1114
1115--
1116-- Dumping data for table `pet_aura`
1117--
1118
1119LOCK TABLES `pet_aura` WRITE;
1120/*!40000 ALTER TABLE `pet_aura` DISABLE KEYS */;
1121/*!40000 ALTER TABLE `pet_aura` ENABLE KEYS */;
1122UNLOCK TABLES;
1123
1124--
1125-- Table structure for table `pet_spell`
1126--
1127
1128DROP TABLE IF EXISTS `pet_spell`;
1129CREATE 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';
1136
1137--
1138-- Dumping data for table `pet_spell`
1139--
1140
1141LOCK TABLES `pet_spell` WRITE;
1142/*!40000 ALTER TABLE `pet_spell` DISABLE KEYS */;
1143/*!40000 ALTER TABLE `pet_spell` ENABLE KEYS */;
1144UNLOCK TABLES;
1145
1146--
1147-- Table structure for table `pet_spell_cooldown`
1148--
1149
1150DROP TABLE IF EXISTS `pet_spell_cooldown`;
1151CREATE 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;
1157
1158--
1159-- Dumping data for table `pet_spell_cooldown`
1160--
1161
1162LOCK TABLES `pet_spell_cooldown` WRITE;
1163/*!40000 ALTER TABLE `pet_spell_cooldown` DISABLE KEYS */;
1164/*!40000 ALTER TABLE `pet_spell_cooldown` ENABLE KEYS */;
1165UNLOCK TABLES;
1166
1167--
1168-- Table structure for table `petition`
1169--
1170
1171DROP TABLE IF EXISTS `petition`;
1172CREATE 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';
1180
1181--
1182-- Dumping data for table `petition`
1183--
1184
1185LOCK TABLES `petition` WRITE;
1186/*!40000 ALTER TABLE `petition` DISABLE KEYS */;
1187/*!40000 ALTER TABLE `petition` ENABLE KEYS */;
1188UNLOCK TABLES;
1189
1190--
1191-- Table structure for table `petition_sign`
1192--
1193
1194DROP TABLE IF EXISTS `petition_sign`;
1195CREATE 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';
1203--
1204-- Dumping data for table `petition_sign`
1205--
1206
1207LOCK TABLES `petition_sign` WRITE;
1208/*!40000 ALTER TABLE `petition_sign` DISABLE KEYS */;
1209/*!40000 ALTER TABLE `petition_sign` ENABLE KEYS */;
1210UNLOCK TABLES;
1211/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
1212
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 */;
1220
1221-- Dump completed on 2008-01-10 11:37:06
Note: See TracBrowser for help on using the browser.