root/trunk/sql/realmd.sql @ 25

Revision 2, 6.0 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: realmd
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 `account`
20--
21
22DROP TABLE IF EXISTS `account`;
23CREATE TABLE `account` (
24  `id` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Identifier',
25  `username`      varchar(32) NOT NULL default '',
26  `sha_pass_hash` varchar(40) NOT NULL default '',
27  `gmlevel` tinyint(3) unsigned NOT NULL default '0',
28  `sessionkey` longtext,
29  `v` longtext,
30  `s` longtext,
31  `email` varchar(320) NOT NULL default '',
32  `joindate` timestamp NOT NULL default CURRENT_TIMESTAMP,
33  `last_ip` varchar(30) NOT NULL default '127.0.0.1',
34  `failed_logins` int(11) unsigned NOT NULL default '0',
35  `locked` tinyint(3) unsigned NOT NULL default '0',
36  `last_login` timestamp NOT NULL default '0000-00-00 00:00:00',
37  `online` tinyint(4) NOT NULL default '0',
38  `tbc` tinyint(3) unsigned NOT NULL default '0',
39  `mutetime` bigint(40) unsigned NOT NULL default '0',
40  `locale` tinyint(3) unsigned NOT NULL default '0',
41  PRIMARY KEY  (`id`),
42  UNIQUE KEY `idx_username` (`username`),
43  KEY `idx_gmlevel` (`gmlevel`)
44) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=DYNAMIC COMMENT='Account System';
45
46--
47-- Dumping data for table `account`
48--
49
50LOCK TABLES `account` WRITE;
51/*!40000 ALTER TABLE `account` DISABLE KEYS */;
52INSERT INTO `account` VALUES
53(1,'ADMINISTRATOR','a34b29541b87b7e4823683ce6c7bf6ae68beaaac',3,'','0','0','','2006-04-25 10:18:56','127.0.0.1',0,0,'0000-00-00 00:00:00',0,0,0,0),
54(2,'GAMEMASTER','7841e21831d7c6bc0b57fbe7151eb82bd65ea1f9',2,'','0','0','','2006-04-25 10:18:56','127.0.0.1',0,0,'0000-00-00 00:00:00',0,0,0,0),
55(3,'MODERATOR','a7f5fbff0b4eec2d6b6e78e38e8312e64d700008',1,'','0','0','','2006-04-25 10:19:35','127.0.0.1',0,0,'0000-00-00 00:00:00',0,0,0,0),
56(4,'PLAYER','3ce8a96d17c5ae88a30681024e86279f1a38c041',0,'','0','0','','2006-04-25 10:19:35','127.0.0.1',0,0,'0000-00-00 00:00:00',0,0,0,0);
57/*!40000 ALTER TABLE `account` ENABLE KEYS */;
58UNLOCK TABLES;
59
60--
61-- Table structure for table `account_banned`
62--
63
64DROP TABLE IF EXISTS `account_banned`;
65CREATE TABLE `account_banned` (
66  `id` int(11) NOT NULL default '0' COMMENT 'Account id',
67  `bandate` bigint(40) NOT NULL default '0',
68  `unbandate` bigint(40) NOT NULL default '0',
69  `bannedby` varchar(50) NOT NULL,
70  `banreason` varchar(255) NOT NULL,
71  `active` tinyint(4) NOT NULL default '1',
72  PRIMARY KEY  (`id`,`bandate`)
73) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Ban List';
74
75--
76-- Dumping data for table `account_banned`
77--
78
79LOCK TABLES `account_banned` WRITE;
80/*!40000 ALTER TABLE `account_banned` DISABLE KEYS */;
81/*!40000 ALTER TABLE `account_banned` ENABLE KEYS */;
82UNLOCK TABLES;
83
84--
85-- Table structure for table `ip_banned`
86--
87
88DROP TABLE IF EXISTS `ip_banned`;
89CREATE TABLE `ip_banned` (
90  `ip` varchar(32) NOT NULL default '127.0.0.1',
91  `bandate` bigint(40) NOT NULL,
92  `unbandate` bigint(40) NOT NULL,
93  `bannedby` varchar(50) NOT NULL default '[Console]',
94  `banreason` varchar(255) NOT NULL default 'no reason',
95  PRIMARY KEY  (`ip`,`bandate`)
96) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Banned IPs';
97
98--
99-- Dumping data for table `ip_banned`
100--
101
102LOCK TABLES `ip_banned` WRITE;
103/*!40000 ALTER TABLE `ip_banned` DISABLE KEYS */;
104/*!40000 ALTER TABLE `ip_banned` ENABLE KEYS */;
105UNLOCK TABLES;
106
107--
108-- Table structure for table `realmcharacters`
109--
110
111DROP TABLE IF EXISTS `realmcharacters`;
112CREATE TABLE `realmcharacters` (
113  `realmid` int(11) unsigned NOT NULL default '0',
114  `acctid` bigint(20) unsigned NOT NULL,
115  `numchars` tinyint(3) unsigned NOT NULL default '0',
116  PRIMARY KEY  (`realmid`,`acctid`)
117) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Realm Character Tracker';
118
119--
120-- Dumping data for table `realmcharacters`
121--
122
123LOCK TABLES `realmcharacters` WRITE;
124/*!40000 ALTER TABLE `realmcharacters` DISABLE KEYS */;
125/*!40000 ALTER TABLE `realmcharacters` ENABLE KEYS */;
126UNLOCK TABLES;
127
128--
129-- Table structure for table `realmlist`
130--
131
132DROP TABLE IF EXISTS `realmlist`;
133CREATE TABLE `realmlist` (
134  `id` int(11) unsigned NOT NULL auto_increment,
135  `name` varchar(32) NOT NULL default '',
136  `address` varchar(32) NOT NULL default '127.0.0.1',
137  `port` int(11) NOT NULL default '8085',
138  `icon` tinyint(3) unsigned NOT NULL default '0',
139  `color` tinyint(3) unsigned NOT NULL default '2',
140  `timezone` tinyint(3) unsigned NOT NULL default '0',
141  `allowedSecurityLevel` tinyint(3) unsigned NOT NULL default '0',
142  `population` float unsigned NOT NULL default '0',
143  PRIMARY KEY  (`id`),
144  UNIQUE KEY `idx_name` (`name`)
145) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Realm System';
146
147--
148-- Dumping data for table `realmlist`
149--
150
151LOCK TABLES `realmlist` WRITE;
152/*!40000 ALTER TABLE `realmlist` DISABLE KEYS */;
153INSERT INTO `realmlist` VALUES
154(1,'MaNGOS','127.0.0.1',8085,1,0,1,0,0);
155/*!40000 ALTER TABLE `realmlist` ENABLE KEYS */;
156UNLOCK TABLES;
157/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
158
159/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
160/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
161/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
162/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
163/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
164/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
165/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
166
167-- Dump completed on 2008-01-10 11:37:06
Note: See TracBrowser for help on using the browser.