root/trunk/sql/characters.sql @ 37

Revision 37, 40.0 kB (checked in by yumileroy, 17 years ago)

[svn] * svn:eol-style native set on all files that need it

Original author: Neo2003
Date: 2008-10-11 14:16:25-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  `points_to_add` int(10) unsigned NOT NULL default '0'
58) ENGINE=InnoDB DEFAULT CHARSET=utf8;
59
60--
61-- Dumping data for table `arena_team_member`
62--
63
64LOCK TABLES `arena_team_member` WRITE;
65/*!40000 ALTER TABLE `arena_team_member` DISABLE KEYS */;
66/*!40000 ALTER TABLE `arena_team_member` ENABLE KEYS */;
67UNLOCK TABLES;
68
69--
70-- Table structure for table `arena_team_stats`
71--
72
73DROP TABLE IF EXISTS `arena_team_stats`;
74CREATE TABLE `arena_team_stats` (
75  `arenateamid` int(10) unsigned NOT NULL default '0',
76  `rating` int(10) unsigned NOT NULL default '0',
77  `games` int(10) unsigned NOT NULL default '0',
78  `wins` int(10) unsigned NOT NULL default '0',
79  `played` int(10) unsigned NOT NULL default '0',
80  `wins2` int(10) unsigned NOT NULL default '0',
81  `rank` int(10) unsigned NOT NULL default '0',
82  PRIMARY KEY  (`arenateamid`)
83) ENGINE=InnoDB DEFAULT CHARSET=utf8;
84
85--
86-- Dumping data for table `arena_team_stats`
87--
88
89LOCK TABLES `arena_team_stats` WRITE;
90/*!40000 ALTER TABLE `arena_team_stats` DISABLE KEYS */;
91/*!40000 ALTER TABLE `arena_team_stats` ENABLE KEYS */;
92UNLOCK TABLES;
93
94--
95-- Table structure for table `auctionhouse`
96--
97
98DROP TABLE IF EXISTS `auctionhouse`;
99CREATE TABLE `auctionhouse` (
100  `id` int(11) unsigned NOT NULL default '0',
101  `auctioneerguid` int(11) unsigned NOT NULL default '0',
102  `itemguid` int(11) unsigned NOT NULL default '0',
103  `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
104  `itemowner` int(11) unsigned NOT NULL default '0',
105  `buyoutprice` int(11) NOT NULL default '0',
106  `time` bigint(40) NOT NULL default '0',
107  `buyguid` int(11) unsigned NOT NULL default '0',
108  `lastbid` int(11) NOT NULL default '0',
109  `startbid` int(11) NOT NULL default '0',
110  `deposit` int(11) NOT NULL default '0',
111  `location` tinyint(3) unsigned NOT NULL default '3',
112  PRIMARY KEY  (`id`),
113  UNIQUE KEY `item_guid` (`itemguid`)
114) ENGINE=InnoDB DEFAULT CHARSET=utf8;
115
116--
117-- Dumping data for table `auctionhouse`
118--
119
120LOCK TABLES `auctionhouse` WRITE;
121/*!40000 ALTER TABLE `auctionhouse` DISABLE KEYS */;
122/*!40000 ALTER TABLE `auctionhouse` ENABLE KEYS */;
123UNLOCK TABLES;
124
125--
126-- Table structure for table `bugreport`
127--
128
129DROP TABLE IF EXISTS `bugreport`;
130CREATE TABLE `bugreport` (
131  `id` int(11) NOT NULL auto_increment COMMENT 'Identifier',
132  `type` varchar(255) NOT NULL default '',
133  `content` varchar(255) NOT NULL default '',
134  PRIMARY KEY  (`id`)
135) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Debug System';
136
137--
138-- Dumping data for table `bugreport`
139--
140
141LOCK TABLES `bugreport` WRITE;
142/*!40000 ALTER TABLE `bugreport` DISABLE KEYS */;
143/*!40000 ALTER TABLE `bugreport` ENABLE KEYS */;
144UNLOCK TABLES;
145
146--
147-- Table structure for table `characters`
148--
149
150DROP TABLE IF EXISTS `characters`;
151CREATE TABLE `characters` (
152  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
153  `account` int(11) unsigned NOT NULL default '0' COMMENT 'Account Identifier',
154  `data` longtext,
155  `name` varchar(12) NOT NULL default '',
156  `race` tinyint(3) unsigned NOT NULL default '0',
157  `class` tinyint(3) unsigned NOT NULL default '0',
158  `position_x` float NOT NULL default '0',
159  `position_y` float NOT NULL default '0',
160  `position_z` float NOT NULL default '0',
161  `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
162  `dungeon_difficulty` tinyint(1) unsigned NOT NULL DEFAULT '0',
163  `orientation` float NOT NULL default '0',
164  `taximask` longtext,
165  `online` tinyint(3) unsigned NOT NULL default '0',
166  `cinematic` tinyint(3) unsigned NOT NULL default '0',
167  `totaltime` int(11) unsigned NOT NULL default '0',
168  `leveltime` int(11) unsigned NOT NULL default '0',
169  `logout_time` bigint(20) unsigned NOT NULL default '0',
170  `is_logout_resting` tinyint(3) unsigned NOT NULL default '0',
171  `rest_bonus` float NOT NULL default '0',
172  `resettalents_cost` int(11) unsigned NOT NULL default '0',
173  `resettalents_time` bigint(20) unsigned NOT NULL default '0',
174  `trans_x` float NOT NULL default '0',
175  `trans_y` float NOT NULL default '0',
176  `trans_z` float NOT NULL default '0',
177  `trans_o` float NOT NULL default '0',
178  `transguid` bigint(20) unsigned NOT NULL default '0',
179  `gmstate` int(11) unsigned NOT NULL default '0',
180  `stable_slots` tinyint(1) unsigned NOT NULL default '0',
181  `at_login` int(11) unsigned NOT NULL default '0',
182  `zone` int(11) unsigned NOT NULL default '0',
183  `death_expire_time` bigint(20) unsigned NOT NULL default '0',
184  `taxi_path` text,
185  PRIMARY KEY  (`guid`),
186  KEY `idx_account` (`account`),
187  KEY `idx_online` (`online`),
188  KEY `idx_name` (`name`)
189) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
190
191--
192-- Dumping data for table `characters`
193--
194
195LOCK TABLES `characters` WRITE;
196/*!40000 ALTER TABLE `characters` DISABLE KEYS */;
197/*!40000 ALTER TABLE `characters` ENABLE KEYS */;
198UNLOCK TABLES;
199
200--
201-- Table structure for table `character_action`
202--
203
204DROP TABLE IF EXISTS `character_action`;
205CREATE TABLE `character_action` (
206  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
207  `button` tinyint(3) unsigned NOT NULL default '0',
208  `action` smallint(5) unsigned NOT NULL default '0',
209  `type` tinyint(3) unsigned NOT NULL default '0',
210  `misc` tinyint(3) unsigned NOT NULL default '0',
211  PRIMARY KEY  (`guid`,`button`)
212) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
213
214--
215-- Dumping data for table `character_action`
216--
217
218LOCK TABLES `character_action` WRITE;
219/*!40000 ALTER TABLE `character_action` DISABLE KEYS */;
220/*!40000 ALTER TABLE `character_action` ENABLE KEYS */;
221UNLOCK TABLES;
222
223--
224-- Table structure for table `character_aura`
225--
226
227DROP TABLE IF EXISTS `character_aura`;
228CREATE TABLE `character_aura` (
229  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
230  `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier',
231  `spell` int(11) unsigned NOT NULL default '0',
232  `effect_index` int(11) unsigned NOT NULL default '0',
233  `amount` int(11) NOT NULL default '0',
234  `maxduration` int(11) NOT NULL default '0',
235  `remaintime` int(11) NOT NULL default '0',
236  `remaincharges` int(11) NOT NULL default '0',
237  PRIMARY KEY  (`guid`,`spell`,`effect_index`)
238) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
239
240--
241-- Dumping data for table `character_aura`
242--
243
244LOCK TABLES `character_aura` WRITE;
245/*!40000 ALTER TABLE `character_aura` DISABLE KEYS */;
246/*!40000 ALTER TABLE `character_aura` ENABLE KEYS */;
247UNLOCK TABLES;
248
249--
250-- Table structure for table `character_declinedname`
251--
252
253DROP TABLE IF EXISTS `character_declinedname`;
254CREATE TABLE `character_declinedname` (
255  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
256  `genitive` varchar(15) NOT NULL default '',
257  `dative` varchar(15) NOT NULL default '',
258  `accusative` varchar(15) NOT NULL default '',
259  `instrumental` varchar(15) NOT NULL default '',
260  `prepositional` varchar(15) NOT NULL default '',
261  PRIMARY KEY  (`guid`)
262) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
263
264--
265-- Dumping data for table `character_declinedname`
266--
267
268LOCK TABLES `character_declinedname` WRITE;
269/*!40000 ALTER TABLE `character_declinedname` DISABLE KEYS */;
270/*!40000 ALTER TABLE `character_declinedname` ENABLE KEYS */;
271UNLOCK TABLES;
272
273--
274-- Table structure for table `character_gifts`
275--
276
277DROP TABLE IF EXISTS `character_gifts`;
278CREATE TABLE `character_gifts` (
279  `guid` int(20) unsigned NOT NULL default '0',
280  `item_guid` int(11) unsigned NOT NULL default '0',
281  `entry` int(20) unsigned NOT NULL default '0',
282  `flags` int(20) unsigned NOT NULL default '0',
283  PRIMARY KEY  (`item_guid`),
284  KEY `idx_guid` (`guid`)
285) ENGINE=InnoDB DEFAULT CHARSET=utf8;
286
287--
288-- Dumping data for table `character_gifts`
289--
290
291LOCK TABLES `character_gifts` WRITE;
292/*!40000 ALTER TABLE `character_gifts` DISABLE KEYS */;
293/*!40000 ALTER TABLE `character_gifts` ENABLE KEYS */;
294UNLOCK TABLES;
295
296--
297-- Table structure for table `character_homebind`
298--
299
300DROP TABLE IF EXISTS `character_homebind`;
301CREATE TABLE `character_homebind` (
302  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
303  `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
304  `zone` int(11) unsigned NOT NULL default '0' COMMENT 'Zone Identifier',
305  `position_x` float NOT NULL default '0',
306  `position_y` float NOT NULL default '0',
307  `position_z` float NOT NULL default '0',
308  PRIMARY KEY  (`guid`)
309) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
310
311--
312-- Dumping data for table `character_homebind`
313--
314
315LOCK TABLES `character_homebind` WRITE;
316/*!40000 ALTER TABLE `character_homebind` DISABLE KEYS */;
317/*!40000 ALTER TABLE `character_homebind` ENABLE KEYS */;
318UNLOCK TABLES;
319
320--
321-- Table structure for table `character_instance`
322--
323
324DROP TABLE IF EXISTS `character_instance`;
325CREATE TABLE `character_instance` (
326  `guid` int(11) unsigned NOT NULL default '0',
327  `instance` int(11) unsigned NOT NULL default '0',
328  `permanent` tinyint(1) unsigned NOT NULL default '0',
329  PRIMARY KEY  (`guid`,`instance`),
330  KEY `instance` (`instance`)
331) ENGINE=InnoDB DEFAULT CHARSET=utf8;
332
333--
334-- Dumping data for table `character_instance`
335--
336
337LOCK TABLES `character_instance` WRITE;
338/*!40000 ALTER TABLE `character_instance` DISABLE KEYS */;
339/*!40000 ALTER TABLE `character_instance` ENABLE KEYS */;
340UNLOCK TABLES;
341
342--
343-- Table structure for table `character_inventory`
344--
345
346DROP TABLE IF EXISTS `character_inventory`;
347CREATE TABLE `character_inventory` (
348  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
349  `bag` int(11) unsigned NOT NULL default '0',
350  `slot` tinyint(3) unsigned NOT NULL default '0',
351  `item` int(11) unsigned NOT NULL default '0' COMMENT 'Item Global Unique Identifier',
352  `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
353  PRIMARY KEY  (`item`),
354  KEY `idx_guid` (`guid`)
355) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
356
357--
358-- Dumping data for table `character_inventory`
359--
360
361LOCK TABLES `character_inventory` WRITE;
362/*!40000 ALTER TABLE `character_inventory` DISABLE KEYS */;
363/*!40000 ALTER TABLE `character_inventory` ENABLE KEYS */;
364UNLOCK TABLES;
365
366--
367-- Table structure for table `character_pet`
368--
369
370DROP TABLE IF EXISTS `character_pet`;
371CREATE TABLE `character_pet` (
372  `id` int(11) unsigned NOT NULL default '0',
373  `entry` int(11) unsigned NOT NULL default '0',
374  `owner` int(11) unsigned NOT NULL default '0',
375  `modelid` int(11) unsigned default '0',
376  `CreatedBySpell` int(11) unsigned NOT NULL default '0',
377  `PetType` tinyint(3) unsigned NOT NULL default '0',
378  `level` int(11) unsigned NOT NULL default '1',
379  `exp` int(11) unsigned NOT NULL default '0',
380  `Reactstate` tinyint(1) unsigned NOT NULL default '0',
381  `loyaltypoints` int(11) NOT NULL default '0',
382  `loyalty` int(11) unsigned NOT NULL default '0',
383  `trainpoint` int(11) NOT NULL default '0',
384  `name` varchar(100) default 'Pet',
385  `renamed` tinyint(1) unsigned NOT NULL default '0',
386  `slot` int(11) unsigned NOT NULL default '0',
387  `curhealth` int(11) unsigned NOT NULL default '1',
388  `curmana` int(11) unsigned NOT NULL default '0',
389  `curhappiness` int(11) unsigned NOT NULL default '0',
390  `savetime` bigint(20) unsigned NOT NULL default '0',
391  `resettalents_cost` int(11) unsigned NOT NULL default '0',
392  `resettalents_time` bigint(20) unsigned NOT NULL default '0',
393  `abdata` longtext,
394  `teachspelldata` longtext,
395  PRIMARY KEY  (`id`),
396  KEY `owner` (`owner`)
397) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
398
399--
400-- Dumping data for table `character_pet`
401--
402
403LOCK TABLES `character_pet` WRITE;
404/*!40000 ALTER TABLE `character_pet` DISABLE KEYS */;
405/*!40000 ALTER TABLE `character_pet` ENABLE KEYS */;
406UNLOCK TABLES;
407
408--
409-- Table structure for table `character_pet_declinedname`
410--
411
412DROP TABLE IF EXISTS `character_pet_declinedname`;
413CREATE TABLE `character_pet_declinedname` (
414  `id` int(11) unsigned NOT NULL default '0',
415  `owner` int(11) unsigned NOT NULL default '0',
416  `genitive` varchar(12) NOT NULL default '',
417  `dative` varchar(12) NOT NULL default '',
418  `accusative` varchar(12) NOT NULL default '',
419  `instrumental` varchar(12) NOT NULL default '',
420  `prepositional` varchar(12) NOT NULL default '',
421  PRIMARY KEY  (`id`),
422  KEY owner_key (`owner`)
423) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
424
425--
426-- Dumping data for table `character_pet_declinedname`
427--
428
429LOCK TABLES `character_pet_declinedname` WRITE;
430/*!40000 ALTER TABLE `character_pet_declinedname` DISABLE KEYS */;
431/*!40000 ALTER TABLE `character_pet_declinedname` ENABLE KEYS */;
432UNLOCK TABLES;
433
434--
435-- Table structure for table `character_queststatus`
436--
437
438DROP TABLE IF EXISTS `character_queststatus`;
439CREATE TABLE `character_queststatus` (
440  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
441  `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
442  `status` int(11) unsigned NOT NULL default '0',
443  `rewarded` tinyint(1) unsigned NOT NULL default '0',
444  `explored` tinyint(1) unsigned NOT NULL default '0',
445  `timer` bigint(20) unsigned NOT NULL default '0',
446  `mobcount1` int(11) unsigned NOT NULL default '0',
447  `mobcount2` int(11) unsigned NOT NULL default '0',
448  `mobcount3` int(11) unsigned NOT NULL default '0',
449  `mobcount4` int(11) unsigned NOT NULL default '0',
450  `itemcount1` int(11) unsigned NOT NULL default '0',
451  `itemcount2` int(11) unsigned NOT NULL default '0',
452  `itemcount3` int(11) unsigned NOT NULL default '0',
453  `itemcount4` int(11) unsigned NOT NULL default '0',
454  PRIMARY KEY  (`guid`,`quest`)
455) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
456
457--
458-- Dumping data for table `character_queststatus`
459--
460
461LOCK TABLES `character_queststatus` WRITE;
462/*!40000 ALTER TABLE `character_queststatus` DISABLE KEYS */;
463/*!40000 ALTER TABLE `character_queststatus` ENABLE KEYS */;
464UNLOCK TABLES;
465
466--
467-- Table structure for table `character_queststatus_daily`
468--
469
470DROP TABLE IF EXISTS `character_queststatus_daily`;
471CREATE TABLE `character_queststatus_daily` (
472  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
473  `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
474  `time` bigint(20) unsigned NOT NULL default '0',
475  PRIMARY KEY  (`guid`,`quest`),
476  KEY `idx_guid` (`guid`)
477) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
478
479--
480-- Dumping data for table `character_queststatus_daily`
481--
482
483LOCK TABLES `character_queststatus_daily` WRITE;
484/*!40000 ALTER TABLE `character_queststatus_daily` DISABLE KEYS */;
485/*!40000 ALTER TABLE `character_queststatus_daily` ENABLE KEYS */;
486UNLOCK TABLES;
487
488--
489-- Table structure for table `character_reputation`
490--
491
492DROP TABLE IF EXISTS `character_reputation`;
493CREATE TABLE `character_reputation` (
494  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
495  `faction` int(11) unsigned NOT NULL default '0',
496  `standing` int(11) NOT NULL default '0',
497  `flags` int(11) NOT NULL default '0',
498  PRIMARY KEY  (`guid`,`faction`)
499) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
500
501--
502-- Dumping data for table `character_reputation`
503--
504
505LOCK TABLES `character_reputation` WRITE;
506/*!40000 ALTER TABLE `character_reputation` DISABLE KEYS */;
507/*!40000 ALTER TABLE `character_reputation` ENABLE KEYS */;
508UNLOCK TABLES;
509
510--
511-- Table structure for table `character_social`
512--
513
514DROP TABLE IF EXISTS `character_social`;
515CREATE TABLE `character_social` (
516  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
517  `friend` int(11) unsigned NOT NULL default '0' COMMENT 'Friend Global Unique Identifier',
518  `flags` tinyint(1) unsigned NOT NULL default '0' COMMENT 'Friend Flags',
519  `note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note',
520  PRIMARY KEY  (`guid`,`friend`,`flags`),
521  KEY `guid` (`guid`),
522  KEY `friend` (`friend`),
523  KEY `guid_flags` (`guid`,`flags`),
524  KEY `friend_flags` (`friend`,`flags`)
525) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
526
527--
528-- Dumping data for table `character_social`
529--
530
531LOCK TABLES `character_social` WRITE;
532/*!40000 ALTER TABLE `character_social` DISABLE KEYS */;
533/*!40000 ALTER TABLE `character_social` ENABLE KEYS */;
534UNLOCK TABLES;
535
536--
537-- Table structure for table `character_spell`
538--
539
540DROP TABLE IF EXISTS `character_spell`;
541CREATE TABLE `character_spell` (
542  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
543  `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
544  `slot` int(11) unsigned NOT NULL default '0',
545  `active` tinyint(3) unsigned NOT NULL default '1',
546  `disabled` tinyint(3) unsigned NOT NULL default '0',
547  PRIMARY KEY  (`guid`,`spell`)
548) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
549
550--
551-- Dumping data for table `character_spell`
552--
553
554LOCK TABLES `character_spell` WRITE;
555/*!40000 ALTER TABLE `character_spell` DISABLE KEYS */;
556/*!40000 ALTER TABLE `character_spell` ENABLE KEYS */;
557UNLOCK TABLES;
558
559--
560-- Table structure for table `character_spell_cooldown`
561--
562
563DROP TABLE IF EXISTS `character_spell_cooldown`;
564CREATE TABLE `character_spell_cooldown` (
565  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
566  `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
567  `item` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
568  `time` bigint(20) unsigned NOT NULL default '0',
569  PRIMARY KEY  (`guid`,`spell`)
570) ENGINE=InnoDB DEFAULT CHARSET=utf8;
571
572--
573-- Dumping data for table `character_spell_cooldown`
574--
575
576LOCK TABLES `character_spell_cooldown` WRITE;
577/*!40000 ALTER TABLE `character_spell_cooldown` DISABLE KEYS */;
578/*!40000 ALTER TABLE `character_spell_cooldown` ENABLE KEYS */;
579UNLOCK TABLES;
580
581--
582-- Table structure for table `character_ticket`
583--
584
585DROP TABLE IF EXISTS `character_ticket`;
586CREATE TABLE `character_ticket` (
587  `ticket_id` int(11) unsigned NOT NULL auto_increment,
588  `guid` int(11) unsigned NOT NULL default '0',
589  `ticket_text` text,
590  `ticket_lastchange` TIMESTAMP ON  UPDATE  CURRENT_TIMESTAMP  NOT  NULL  DEFAULT CURRENT_TIMESTAMP,
591  PRIMARY KEY  (`ticket_id`)
592) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
593
594--
595-- Dumping data for table `character_ticket`
596--
597
598LOCK TABLES `character_ticket` WRITE;
599/*!40000 ALTER TABLE `character_ticket` DISABLE KEYS */;
600/*!40000 ALTER TABLE `character_ticket` ENABLE KEYS */;
601UNLOCK TABLES;
602
603--
604-- Table structure for table `character_tutorial`
605--
606
607DROP TABLE IF EXISTS `character_tutorial`;
608CREATE TABLE `character_tutorial` (
609  `account` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Account Identifier',
610  `realmid` int(11) unsigned NOT NULL default '0' COMMENT 'Realm Identifier',
611  `tut0` int(11) unsigned NOT NULL default '0',
612  `tut1` int(11) unsigned NOT NULL default '0',
613  `tut2` int(11) unsigned NOT NULL default '0',
614  `tut3` int(11) unsigned NOT NULL default '0',
615  `tut4` int(11) unsigned NOT NULL default '0',
616  `tut5` int(11) unsigned NOT NULL default '0',
617  `tut6` int(11) unsigned NOT NULL default '0',
618  `tut7` int(11) unsigned NOT NULL default '0',
619  PRIMARY KEY  (`account`,`realmid`),
620  KEY acc_key (`account`)
621) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
622
623--
624-- Dumping data for table `character_tutorial`
625--
626
627LOCK TABLES `character_tutorial` WRITE;
628/*!40000 ALTER TABLE `character_tutorial` DISABLE KEYS */;
629/*!40000 ALTER TABLE `character_tutorial` ENABLE KEYS */;
630UNLOCK TABLES;
631
632--
633-- Table structure for table `corpse`
634--
635
636DROP TABLE IF EXISTS `corpse`;
637CREATE TABLE `corpse` (
638  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
639  `player` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
640  `position_x` float NOT NULL default '0',
641  `position_y` float NOT NULL default '0',
642  `position_z` float NOT NULL default '0',
643  `orientation` float NOT NULL default '0',
644  `zone` int(11) unsigned NOT NULL default '38' COMMENT 'Zone Identifier',
645  `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
646  `data` longtext,
647  `time` bigint(20) unsigned NOT NULL default '0',
648  `corpse_type` tinyint(3) unsigned NOT NULL default '0',
649  `instance` int(11) unsigned NOT NULL default '0',
650  PRIMARY KEY  (`guid`),
651  KEY `idx_type` (`corpse_type`),
652  KEY `instance` (`instance`)
653) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Death System';
654
655--
656-- Dumping data for table `corpse`
657--
658
659LOCK TABLES `corpse` WRITE;
660/*!40000 ALTER TABLE `corpse` DISABLE KEYS */;
661/*!40000 ALTER TABLE `corpse` ENABLE KEYS */;
662UNLOCK TABLES;
663
664--
665-- Table structure for table `groups`
666--
667
668DROP TABLE IF EXISTS `groups`;
669CREATE TABLE `groups` (
670  `leaderGuid` int(11) unsigned NOT NULL,
671  `mainTank` int(11) unsigned NOT NULL,
672  `mainAssistant` int(11) unsigned NOT NULL,
673  `lootMethod` tinyint(4) unsigned NOT NULL,
674  `looterGuid` int(11) unsigned NOT NULL,
675  `lootThreshold` tinyint(4) unsigned NOT NULL,
676  `icon1` int(11) unsigned NOT NULL,
677  `icon2` int(11) unsigned NOT NULL,
678  `icon3` int(11) unsigned NOT NULL,
679  `icon4` int(11) unsigned NOT NULL,
680  `icon5` int(11) unsigned NOT NULL,
681  `icon6` int(11) unsigned NOT NULL,
682  `icon7` int(11) unsigned NOT NULL,
683  `icon8` int(11) unsigned NOT NULL,
684  `isRaid` tinyint(1) unsigned NOT NULL,
685  `difficulty` tinyint(3) unsigned NOT NULL default '0',
686  PRIMARY KEY  (`leaderGuid`)
687) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
688
689--
690-- Dumping data for table `groups`
691--
692
693LOCK TABLES `groups` WRITE;
694/*!40000 ALTER TABLE `groups` DISABLE KEYS */;
695/*!40000 ALTER TABLE `groups` ENABLE KEYS */;
696UNLOCK TABLES;
697
698-- ----------------------------
699-- Table structure for group_instance
700-- ----------------------------
701DROP TABLE IF EXISTS `group_instance`;
702CREATE TABLE `group_instance` (
703  `leaderGuid` int(11) unsigned NOT NULL default '0',
704  `instance` int(11) unsigned NOT NULL default '0',
705  `permanent` tinyint(1) unsigned NOT NULL default '0',
706  PRIMARY KEY  (`leaderGuid`,`instance`),
707  KEY `instance` (`instance`)
708) ENGINE=InnoDB DEFAULT CHARSET=utf8;
709
710--
711-- Dumping data for table `group_instance`
712--
713
714LOCK TABLES `group_instance` WRITE;
715/*!40000 ALTER TABLE `group_instance` DISABLE KEYS */;
716/*!40000 ALTER TABLE `group_instance` ENABLE KEYS */;
717UNLOCK TABLES;
718
719--
720-- Table structure for table `group_member`
721--
722
723DROP TABLE IF EXISTS `group_member`;
724CREATE TABLE `group_member` (
725  `leaderGuid` int(11) unsigned NOT NULL,
726  `memberGuid` int(11) unsigned NOT NULL,
727  `assistant` tinyint(1) unsigned NOT NULL,
728  `subgroup` smallint(6) unsigned NOT NULL,
729  PRIMARY KEY  (`leaderGuid`,`memberGuid`)
730) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
731
732--
733-- Dumping data for table `group_member`
734--
735
736LOCK TABLES `group_member` WRITE;
737/*!40000 ALTER TABLE `group_member` DISABLE KEYS */;
738/*!40000 ALTER TABLE `group_member` ENABLE KEYS */;
739UNLOCK TABLES;
740
741--
742-- Table structure for table `guild`
743--
744
745DROP TABLE IF EXISTS `guild`;
746CREATE TABLE `guild` (
747  `guildid` int(6) unsigned NOT NULL default '0',
748  `name` varchar(255) NOT NULL default '',
749  `leaderguid` int(6) unsigned NOT NULL default '0',
750  `EmblemStyle` int(5) NOT NULL default '0',
751  `EmblemColor` int(5) NOT NULL default '0',
752  `BorderStyle` int(5) NOT NULL default '0',
753  `BorderColor` int(5) NOT NULL default '0',
754  `BackgroundColor` int(5) NOT NULL default '0',
755  `info` text NOT NULL,
756  `motd` varchar(255) NOT NULL default '',
757  `createdate` datetime default NULL,
758  `BankMoney` bigint(20) NOT NULL default '0',
759  PRIMARY KEY  (`guildid`)
760) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
761
762--
763-- Dumping data for table `guild`
764--
765
766LOCK TABLES `guild` WRITE;
767/*!40000 ALTER TABLE `guild` DISABLE KEYS */;
768/*!40000 ALTER TABLE `guild` ENABLE KEYS */;
769UNLOCK TABLES;
770
771--
772-- Table structure for table `guild_bank_eventlog`
773--
774
775DROP TABLE IF EXISTS `guild_bank_eventlog`;
776CREATE TABLE `guild_bank_eventlog` (
777  `guildid` int(11) unsigned NOT NULL default '0',
778  `LogGuid` int(11) unsigned NOT NULL default '0',
779  `LogEntry` tinyint(1) unsigned NOT NULL default '0',
780  `TabId` tinyint(1) unsigned NOT NULL default '0',
781  `PlayerGuid` int(11) unsigned NOT NULL default '0',
782  `ItemOrMoney` int(11) unsigned NOT NULL default '0',
783  `ItemStackCount` tinyint(3) unsigned NOT NULL default '0',
784  `DestTabId` tinyint(1) unsigned NOT NULL default '0',
785  `TimeStamp` bigint(20) unsigned NOT NULL default '0',
786  PRIMARY KEY  (`guildid`,`LogGuid`),
787  KEY `guildid_key` (`guildid`)
788) ENGINE=InnoDB DEFAULT CHARSET=utf8;
789
790--
791-- Dumping data for table `guild_bank_eventlog`
792--
793
794LOCK TABLES `guild_bank_eventlog` WRITE;
795/*!40000 ALTER TABLE `guild_bank_eventlog` DISABLE KEYS */;
796/*!40000 ALTER TABLE `guild_bank_eventlog` ENABLE KEYS */;
797UNLOCK TABLES;
798
799--
800-- Table structure for table `guild_bank_item`
801--
802
803DROP TABLE IF EXISTS `guild_bank_item`;
804CREATE TABLE `guild_bank_item` (
805  `guildid` int(11) unsigned NOT NULL default '0',
806  `TabId` tinyint(1) unsigned NOT NULL default '0',
807  `SlotId` tinyint(3) unsigned NOT NULL default '0',
808  `item_guid` int(11) unsigned NOT NULL default '0',
809  `item_entry` int(11) unsigned NOT NULL default '0',
810  PRIMARY KEY  (`guildid`,`tabid`,`slotid`),
811  KEY `guildid_key` (`guildid`)
812) ENGINE=InnoDB DEFAULT CHARSET=utf8;
813
814--
815-- Dumping data for table `guild_bank_item`
816--
817
818LOCK TABLES `guild_bank_item` WRITE;
819/*!40000 ALTER TABLE `guild_bank_item` DISABLE KEYS */;
820/*!40000 ALTER TABLE `guild_bank_item` ENABLE KEYS */;
821UNLOCK TABLES;
822
823--
824-- Table structure for table `guild_bank_right`
825--
826
827DROP TABLE IF EXISTS `guild_bank_right`;
828CREATE TABLE `guild_bank_right` (
829  `guildid` int(11) unsigned NOT NULL default '0',
830  `TabId` tinyint(1) unsigned NOT NULL default '0',
831  `rid` int(11) unsigned NOT NULL default '0',
832  `gbright` tinyint(3) unsigned NOT NULL default '0',
833  `SlotPerDay` int(11) unsigned NOT NULL default '0',
834  PRIMARY KEY  (`guildid`,`TabId`,`rid`),
835  KEY `guildid_key` (`guildid`)
836) ENGINE=InnoDB DEFAULT CHARSET=utf8;
837
838--
839-- Dumping data for table `guild_bank_right`
840--
841
842LOCK TABLES `guild_bank_right` WRITE;
843/*!40000 ALTER TABLE `guild_bank_right` DISABLE KEYS */;
844/*!40000 ALTER TABLE `guild_bank_right` ENABLE KEYS */;
845UNLOCK TABLES;
846
847--
848-- Table structure for table `guild_bank_tab`
849--
850
851DROP TABLE IF EXISTS `guild_bank_tab`;
852CREATE TABLE `guild_bank_tab` (
853  `guildid` int(11) unsigned NOT NULL default '0',
854  `TabId` tinyint(1) unsigned NOT NULL default '0',
855  `TabName` varchar(100) NOT NULL default '',
856  `TabIcon` varchar(100) NOT NULL default '',
857  `TabText` varchar(500) NOT NULL default '',
858  PRIMARY KEY  (`guildid`,`TabId`),
859  KEY `guildid_key` (`guildid`)
860) ENGINE=InnoDB DEFAULT CHARSET=utf8;
861
862--
863-- Dumping data for table `guild_bank_tab`
864--
865
866LOCK TABLES `guild_bank_tab` WRITE;
867/*!40000 ALTER TABLE `guild_bank_tab` DISABLE KEYS */;
868/*!40000 ALTER TABLE `guild_bank_tab` ENABLE KEYS */;
869UNLOCK TABLES;
870
871--
872-- Table structure for table `guild_eventlog`
873--
874
875DROP TABLE IF EXISTS `guild_eventlog`;
876CREATE TABLE `guild_eventlog` (
877  `guildid` int(11) NOT NULL COMMENT 'Guild Identificator',
878  `LogGuid` int(11) NOT NULL COMMENT 'Log entry identificator',
879  `EventType` tinyint(1) NOT NULL COMMENT 'Event type',
880  `PlayerGuid1` int(11) NOT NULL COMMENT 'Player 1',
881  `PlayerGuid2` int(11) NOT NULL COMMENT 'Player 2',
882  `NewRank` tinyint(2) NOT NULL COMMENT 'New rank(in case promotion/demotion)',
883  `TimeStamp` bigint(20) NOT NULL COMMENT 'Event UNIX time'
884) ENGINE = InnoDB DEFAULT CHARSET = latin1 COMMENT 'Guild Eventlog';
885
886--
887-- Dumping data for table `guild_eventlog`
888--
889
890LOCK TABLES `guild_eventlog` WRITE;
891/*!40000 ALTER TABLE `guild_eventlog` DISABLE KEYS */;
892/*!40000 ALTER TABLE `guild_eventlog` ENABLE KEYS */;
893UNLOCK TABLES;
894
895--
896-- Table structure for table `guild_member`
897--
898
899DROP TABLE IF EXISTS `guild_member`;
900CREATE TABLE `guild_member` (
901  `guildid` int(6) unsigned NOT NULL default '0',
902  `guid` int(11) unsigned NOT NULL default '0',
903  `rank` tinyint(2) unsigned NOT NULL default '0',
904  `pnote` varchar(255) NOT NULL default '',
905  `offnote` varchar(255) NOT NULL default '',
906  `BankResetTimeMoney` int(11) unsigned NOT NULL default '0',
907  `BankRemMoney` int(11) unsigned NOT NULL default '0',
908  `BankResetTimeTab0` int(11) unsigned NOT NULL default '0',
909  `BankRemSlotsTab0` int(11) unsigned NOT NULL default '0',
910  `BankResetTimeTab1` int(11) unsigned NOT NULL default '0',
911  `BankRemSlotsTab1` int(11) unsigned NOT NULL default '0',
912  `BankResetTimeTab2` int(11) unsigned NOT NULL default '0',
913  `BankRemSlotsTab2` int(11) unsigned NOT NULL default '0',
914  `BankResetTimeTab3` int(11) unsigned NOT NULL default '0',
915  `BankRemSlotsTab3` int(11) unsigned NOT NULL default '0',
916  `BankResetTimeTab4` int(11) unsigned NOT NULL default '0',
917  `BankRemSlotsTab4` int(11) unsigned NOT NULL default '0',
918  `BankResetTimeTab5` int(11) unsigned NOT NULL default '0',
919  `BankRemSlotsTab5` int(11) unsigned NOT NULL default '0',
920  KEY `guildid_key` (`guildid`),
921  KEY `guildid_rank_key` (`guildid`,`rank`),
922  KEY `guid_key` (`guid`)
923) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Guild System';
924
925--
926-- Dumping data for table `guild_member`
927--
928
929LOCK TABLES `guild_member` WRITE;
930/*!40000 ALTER TABLE `guild_member` DISABLE KEYS */;
931/*!40000 ALTER TABLE `guild_member` ENABLE KEYS */;
932UNLOCK TABLES;
933
934--
935-- Table structure for table `guild_rank`
936--
937
938DROP TABLE IF EXISTS `guild_rank`;
939CREATE TABLE `guild_rank` (
940  `guildid` int(6) unsigned NOT NULL default '0',
941  `rid` int(11) unsigned NOT NULL,
942  `rname` varchar(255) NOT NULL default '',
943  `rights` int(3) unsigned NOT NULL default '0',
944  `BankMoneyPerDay` int(11) unsigned NOT NULL default '0',
945  PRIMARY KEY  (`guildid`,`rid`)
946) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
947
948--
949-- Dumping data for table `guild_rank`
950--
951
952LOCK TABLES `guild_rank` WRITE;
953/*!40000 ALTER TABLE `guild_rank` DISABLE KEYS */;
954/*!40000 ALTER TABLE `guild_rank` ENABLE KEYS */;
955UNLOCK TABLES;
956
957--
958-- Table structure for table `instance`
959--
960
961DROP TABLE IF EXISTS `instance`;
962CREATE TABLE `instance` (
963  `id` int(11) unsigned NOT NULL default '0',
964  `map` int(11) unsigned NOT NULL default '0',
965  `resettime` bigint(40) NOT NULL default '0',
966  `difficulty` tinyint(1) unsigned NOT NULL default '0',
967  `data` longtext,
968  PRIMARY KEY  (`id`),
969  KEY `map` (`map`),
970  KEY `resettime` (`resettime`)
971) ENGINE=InnoDB DEFAULT CHARSET=utf8;
972
973--
974-- Dumping data for table `instance`
975--
976
977LOCK TABLES `instance` WRITE;
978/*!40000 ALTER TABLE `instance` DISABLE KEYS */;
979/*!40000 ALTER TABLE `instance` ENABLE KEYS */;
980UNLOCK TABLES;
981
982-- ----------------------------
983-- Table structure for instance_reset
984-- ----------------------------
985DROP TABLE IF EXISTS `instance_reset`;
986CREATE TABLE `instance_reset` (
987  `mapid` int(11) unsigned NOT NULL default '0',
988  `resettime` bigint(40) NOT NULL default '0',
989  PRIMARY KEY  (`mapid`)
990) ENGINE=InnoDB DEFAULT CHARSET=utf8;
991
992--
993-- Dumping data for table `instance_reset`
994--
995
996LOCK TABLES `instance_reset` WRITE;
997/*!40000 ALTER TABLE `instance_reset` DISABLE KEYS */;
998/*!40000 ALTER TABLE `instance_reset` ENABLE KEYS */;
999UNLOCK TABLES;
1000
1001--
1002-- Table structure for table `item_instance`
1003--
1004
1005DROP TABLE IF EXISTS `item_instance`;
1006CREATE TABLE `item_instance` (
1007  `guid` int(11) unsigned NOT NULL default '0',
1008  `owner_guid` int(11) unsigned NOT NULL default '0',
1009  `data` longtext,
1010  PRIMARY KEY  (`guid`),
1011  KEY `idx_owner_guid` (`owner_guid`)
1012) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item System';
1013
1014--
1015-- Dumping data for table `item_instance`
1016--
1017
1018LOCK TABLES `item_instance` WRITE;
1019/*!40000 ALTER TABLE `item_instance` DISABLE KEYS */;
1020/*!40000 ALTER TABLE `item_instance` ENABLE KEYS */;
1021UNLOCK TABLES;
1022
1023--
1024-- Table structure for table `item_text`
1025--
1026
1027DROP TABLE IF EXISTS `item_text`;
1028CREATE TABLE `item_text` (
1029  `id` int(11) unsigned NOT NULL default '0',
1030  `text` longtext,
1031  PRIMARY KEY  (`id`)
1032) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
1033
1034--
1035-- Dumping data for table `item_text`
1036--
1037
1038LOCK TABLES `item_text` WRITE;
1039/*!40000 ALTER TABLE `item_text` DISABLE KEYS */;
1040/*!40000 ALTER TABLE `item_text` ENABLE KEYS */;
1041UNLOCK TABLES;
1042
1043--
1044-- Table structure for table `mail`
1045--
1046
1047DROP TABLE IF EXISTS `mail`;
1048CREATE TABLE `mail` (
1049  `id` int(11) unsigned NOT NULL default '0' COMMENT 'Identifier',
1050  `messageType` tinyint(3) unsigned NOT NULL default '0',
1051  `stationery` tinyint(3) NOT NULL default '41',
1052  `mailTemplateId` mediumint(8) unsigned NOT NULL default '0',
1053  `sender` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1054  `receiver` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1055  `subject` longtext,
1056  `itemTextId` int(11) unsigned NOT NULL default '0',
1057  `has_items` tinyint(3) unsigned NOT NULL default '0',
1058  `expire_time` bigint(40) NOT NULL default '0',
1059  `deliver_time` bigint(40) NOT NULL default '0',
1060  `money` int(11) unsigned NOT NULL default '0',
1061  `cod` int(11) unsigned NOT NULL default '0',
1062  `checked` tinyint(3) unsigned NOT NULL default '0',
1063  PRIMARY KEY  (`id`),
1064  KEY `idx_receiver` (`receiver`)
1065) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Mail System';
1066
1067--
1068-- Dumping data for table `mail`
1069--
1070
1071LOCK TABLES `mail` WRITE;
1072/*!40000 ALTER TABLE `mail` DISABLE KEYS */;
1073/*!40000 ALTER TABLE `mail` ENABLE KEYS */;
1074UNLOCK TABLES;
1075
1076--
1077-- Table structure for table `mail_items`
1078--
1079
1080DROP TABLE IF EXISTS `mail_items`;
1081CREATE TABLE `mail_items` (
1082  `mail_id` int(11) NOT NULL default '0',
1083  `item_guid` int(11) NOT NULL default '0',
1084  `item_template` int(11) NOT NULL default '0',
1085  `receiver` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
1086  PRIMARY KEY  (`mail_id`,`item_guid`),
1087  KEY `idx_receiver` (`receiver`)
1088) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
1089
1090--
1091-- Dumping data for table `mail_items`
1092--
1093
1094LOCK TABLES `mail_items` WRITE;
1095/*!40000 ALTER TABLE `mail_items` DISABLE KEYS */;
1096/*!40000 ALTER TABLE `mail_items` ENABLE KEYS */;
1097UNLOCK TABLES;
1098
1099--
1100-- Table structure for table `pet_aura`
1101--
1102
1103DROP TABLE IF EXISTS `pet_aura`;
1104CREATE TABLE `pet_aura` (
1105  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
1106  `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier',
1107  `spell` int(11) unsigned NOT NULL default '0',
1108  `effect_index` int(11) unsigned NOT NULL default '0',
1109  `amount` int(11) NOT NULL default '0',
1110  `maxduration` int(11) NOT NULL default '0',
1111  `remaintime` int(11) NOT NULL default '0',
1112  `remaincharges` int(11) NOT NULL default '0',
1113  PRIMARY KEY  (`guid`,`spell`,`effect_index`)
1114) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
1115
1116--
1117-- Dumping data for table `pet_aura`
1118--
1119
1120LOCK TABLES `pet_aura` WRITE;
1121/*!40000 ALTER TABLE `pet_aura` DISABLE KEYS */;
1122/*!40000 ALTER TABLE `pet_aura` ENABLE KEYS */;
1123UNLOCK TABLES;
1124
1125--
1126-- Table structure for table `pet_spell`
1127--
1128
1129DROP TABLE IF EXISTS `pet_spell`;
1130CREATE TABLE `pet_spell` (
1131  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
1132  `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
1133  `slot` int(11) unsigned NOT NULL default '0',
1134  `active` int(11) unsigned NOT NULL default '0',
1135  PRIMARY KEY  (`guid`,`spell`)
1136) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
1137
1138--
1139-- Dumping data for table `pet_spell`
1140--
1141
1142LOCK TABLES `pet_spell` WRITE;
1143/*!40000 ALTER TABLE `pet_spell` DISABLE KEYS */;
1144/*!40000 ALTER TABLE `pet_spell` ENABLE KEYS */;
1145UNLOCK TABLES;
1146
1147--
1148-- Table structure for table `pet_spell_cooldown`
1149--
1150
1151DROP TABLE IF EXISTS `pet_spell_cooldown`;
1152CREATE TABLE `pet_spell_cooldown` (
1153  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
1154  `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
1155  `time` bigint(20) unsigned NOT NULL default '0',
1156  PRIMARY KEY  (`guid`,`spell`)
1157) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1158
1159--
1160-- Dumping data for table `pet_spell_cooldown`
1161--
1162
1163LOCK TABLES `pet_spell_cooldown` WRITE;
1164/*!40000 ALTER TABLE `pet_spell_cooldown` DISABLE KEYS */;
1165/*!40000 ALTER TABLE `pet_spell_cooldown` ENABLE KEYS */;
1166UNLOCK TABLES;
1167
1168--
1169-- Table structure for table `petition`
1170--
1171
1172DROP TABLE IF EXISTS `petition`;
1173CREATE TABLE `petition` (
1174  `ownerguid` int(10) unsigned NOT NULL,
1175  `petitionguid` int(10) unsigned default '0',
1176  `name` varchar(255) NOT NULL default '',
1177  `type` int(10) unsigned NOT NULL default '0',
1178  PRIMARY KEY  (`ownerguid`,`type`),
1179  UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
1180) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
1181
1182--
1183-- Dumping data for table `petition`
1184--
1185
1186LOCK TABLES `petition` WRITE;
1187/*!40000 ALTER TABLE `petition` DISABLE KEYS */;
1188/*!40000 ALTER TABLE `petition` ENABLE KEYS */;
1189UNLOCK TABLES;
1190
1191--
1192-- Table structure for table `petition_sign`
1193--
1194
1195DROP TABLE IF EXISTS `petition_sign`;
1196CREATE TABLE `petition_sign` (
1197  `ownerguid` int(10) unsigned NOT NULL,
1198  `petitionguid` int(11) unsigned NOT NULL default '0',
1199  `playerguid` int(11) unsigned NOT NULL default '0',
1200  `player_account` int(11) unsigned NOT NULL default '0',
1201  `type` int(10) unsigned NOT NULL default '0',
1202  PRIMARY KEY  (`petitionguid`,`playerguid`)
1203) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
1204--
1205-- Dumping data for table `petition_sign`
1206--
1207
1208LOCK TABLES `petition_sign` WRITE;
1209/*!40000 ALTER TABLE `petition_sign` DISABLE KEYS */;
1210/*!40000 ALTER TABLE `petition_sign` ENABLE KEYS */;
1211UNLOCK TABLES;
1212
1213--
1214-- Table structure for table `saved_variables`
1215--
1216DROP TABLE IF EXISTS `saved_variables`;
1217CREATE TABLE `saved_variables` (                                                                             
1218    `NextArenaPointDistributionTime` timestamp NOT NULL
1219) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Variable Saves';
1220
1221--
1222-- Dumping data for table `saved_variables`
1223--
1224
1225LOCK TABLES `saved_variables` WRITE;
1226/*!40000 ALTER TABLE `saved_variables` DISABLE KEYS */;
1227/*!40000 ALTER TABLE `saved_variables` ENABLE KEYS */;
1228UNLOCK TABLES;
1229/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
1230
1231/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
1232/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
1233/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
1234/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
1235/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
1236/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
1237/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
1238
1239-- Dump completed on 2008-01-10 11:37:06
Note: See TracBrowser for help on using the browser.