[2] | 1 | -- MySQL dump 10.11 |
---|
| 2 | -- |
---|
| 3 | -- Host: localhost Database: realmd |
---|
| 4 | -- ------------------------------------------------------ |
---|
[45] | 5 | -- Server version 5.0.34-log |
---|
[2] | 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 | |
---|
| 22 | DROP TABLE IF EXISTS `account`; |
---|
| 23 | CREATE TABLE `account` ( |
---|
| 24 | `id` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Identifier', |
---|
[45] | 25 | `username` varchar(32) NOT NULL, |
---|
[2] | 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', |
---|
[104] | 38 | `expansion` tinyint(3) unsigned NOT NULL default '0', |
---|
[2] | 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`) |
---|
[45] | 44 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Account System'; |
---|
[2] | 45 | |
---|
| 46 | -- |
---|
| 47 | -- Dumping data for table `account` |
---|
| 48 | -- |
---|
| 49 | |
---|
| 50 | LOCK TABLES `account` WRITE; |
---|
| 51 | /*!40000 ALTER TABLE `account` DISABLE KEYS */; |
---|
| 52 | /*!40000 ALTER TABLE `account` ENABLE KEYS */; |
---|
| 53 | UNLOCK TABLES; |
---|
| 54 | |
---|
| 55 | -- |
---|
| 56 | -- Table structure for table `account_banned` |
---|
| 57 | -- |
---|
| 58 | |
---|
| 59 | DROP TABLE IF EXISTS `account_banned`; |
---|
| 60 | CREATE TABLE `account_banned` ( |
---|
| 61 | `id` int(11) NOT NULL default '0' COMMENT 'Account id', |
---|
| 62 | `bandate` bigint(40) NOT NULL default '0', |
---|
| 63 | `unbandate` bigint(40) NOT NULL default '0', |
---|
| 64 | `bannedby` varchar(50) NOT NULL, |
---|
| 65 | `banreason` varchar(255) NOT NULL, |
---|
| 66 | `active` tinyint(4) NOT NULL default '1', |
---|
| 67 | PRIMARY KEY (`id`,`bandate`) |
---|
| 68 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Ban List'; |
---|
| 69 | |
---|
| 70 | -- |
---|
| 71 | -- Dumping data for table `account_banned` |
---|
| 72 | -- |
---|
| 73 | |
---|
| 74 | LOCK TABLES `account_banned` WRITE; |
---|
| 75 | /*!40000 ALTER TABLE `account_banned` DISABLE KEYS */; |
---|
| 76 | /*!40000 ALTER TABLE `account_banned` ENABLE KEYS */; |
---|
| 77 | UNLOCK TABLES; |
---|
| 78 | |
---|
| 79 | -- |
---|
| 80 | -- Table structure for table `ip_banned` |
---|
| 81 | -- |
---|
| 82 | |
---|
| 83 | DROP TABLE IF EXISTS `ip_banned`; |
---|
| 84 | CREATE TABLE `ip_banned` ( |
---|
| 85 | `ip` varchar(32) NOT NULL default '127.0.0.1', |
---|
[45] | 86 | `bandate` int(11) NOT NULL, |
---|
| 87 | `unbandate` int(11) NOT NULL, |
---|
[2] | 88 | `bannedby` varchar(50) NOT NULL default '[Console]', |
---|
[45] | 89 | `banreason` varchar(50) NOT NULL default 'no reason', |
---|
| 90 | PRIMARY KEY (`ip`) |
---|
[2] | 91 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Banned IPs'; |
---|
| 92 | |
---|
| 93 | -- |
---|
| 94 | -- Dumping data for table `ip_banned` |
---|
| 95 | -- |
---|
| 96 | |
---|
| 97 | LOCK TABLES `ip_banned` WRITE; |
---|
| 98 | /*!40000 ALTER TABLE `ip_banned` DISABLE KEYS */; |
---|
| 99 | /*!40000 ALTER TABLE `ip_banned` ENABLE KEYS */; |
---|
| 100 | UNLOCK TABLES; |
---|
| 101 | |
---|
| 102 | -- |
---|
| 103 | -- Table structure for table `realmcharacters` |
---|
| 104 | -- |
---|
| 105 | |
---|
| 106 | DROP TABLE IF EXISTS `realmcharacters`; |
---|
| 107 | CREATE TABLE `realmcharacters` ( |
---|
| 108 | `realmid` int(11) unsigned NOT NULL default '0', |
---|
| 109 | `acctid` bigint(20) unsigned NOT NULL, |
---|
| 110 | `numchars` tinyint(3) unsigned NOT NULL default '0', |
---|
| 111 | PRIMARY KEY (`realmid`,`acctid`) |
---|
| 112 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Realm Character Tracker'; |
---|
| 113 | |
---|
| 114 | -- |
---|
| 115 | -- Dumping data for table `realmcharacters` |
---|
| 116 | -- |
---|
| 117 | |
---|
| 118 | LOCK TABLES `realmcharacters` WRITE; |
---|
| 119 | /*!40000 ALTER TABLE `realmcharacters` DISABLE KEYS */; |
---|
| 120 | /*!40000 ALTER TABLE `realmcharacters` ENABLE KEYS */; |
---|
| 121 | UNLOCK TABLES; |
---|
| 122 | |
---|
| 123 | -- |
---|
| 124 | -- Table structure for table `realmlist` |
---|
| 125 | -- |
---|
| 126 | |
---|
| 127 | DROP TABLE IF EXISTS `realmlist`; |
---|
| 128 | CREATE TABLE `realmlist` ( |
---|
| 129 | `id` int(11) unsigned NOT NULL auto_increment, |
---|
| 130 | `name` varchar(32) NOT NULL default '', |
---|
| 131 | `address` varchar(32) NOT NULL default '127.0.0.1', |
---|
| 132 | `port` int(11) NOT NULL default '8085', |
---|
| 133 | `icon` tinyint(3) unsigned NOT NULL default '0', |
---|
| 134 | `color` tinyint(3) unsigned NOT NULL default '2', |
---|
| 135 | `timezone` tinyint(3) unsigned NOT NULL default '0', |
---|
| 136 | `allowedSecurityLevel` tinyint(3) unsigned NOT NULL default '0', |
---|
| 137 | `population` float unsigned NOT NULL default '0', |
---|
| 138 | PRIMARY KEY (`id`), |
---|
| 139 | UNIQUE KEY `idx_name` (`name`) |
---|
[45] | 140 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Realm System'; |
---|
[2] | 141 | |
---|
| 142 | -- |
---|
| 143 | -- Dumping data for table `realmlist` |
---|
| 144 | -- |
---|
| 145 | |
---|
| 146 | LOCK TABLES `realmlist` WRITE; |
---|
| 147 | /*!40000 ALTER TABLE `realmlist` DISABLE KEYS */; |
---|
| 148 | /*!40000 ALTER TABLE `realmlist` ENABLE KEYS */; |
---|
| 149 | UNLOCK TABLES; |
---|
| 150 | /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
---|
| 151 | |
---|
| 152 | /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
---|
| 153 | /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
---|
| 154 | /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
---|
| 155 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
---|
| 156 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
---|
| 157 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
---|
| 158 | /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
---|
| 159 | |
---|
[45] | 160 | -- Dump completed on 2008-10-14 13:28:11 |
---|