mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[0019] Typo
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
46052a6e55
commit
a340b9bbc0
3 changed files with 19 additions and 37 deletions
|
|
@ -41,25 +41,25 @@ UNLOCK TABLES;
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `account`;
|
DROP TABLE IF EXISTS `account`;
|
||||||
CREATE TABLE `account` (
|
CREATE TABLE `account` (
|
||||||
`id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
|
`id` int(11) unsigned NOT NULL auto_increment COMMENT 'Identifier',
|
||||||
`username` VARCHAR(32) NOT NULL DEFAULT '',
|
`username` varchar(32) NOT NULL default '',
|
||||||
`sha_pass_hash` VARCHAR(40) NOT NULL DEFAULT '',
|
`sha_pass_hash` varchar(40) NOT NULL default '',
|
||||||
`sessionkey` LONGTEXT,
|
`sessionkey` longtext,
|
||||||
`v` LONGTEXT,
|
`v` longtext,
|
||||||
`s` LONGTEXT,
|
`s` longtext,
|
||||||
`email` TEXT,
|
`email` text,
|
||||||
`joindate` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
`joindate` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
||||||
`last_ip` VARCHAR(30) NOT NULL DEFAULT '0.0.0.0',
|
`last_ip` varchar(30) NOT NULL default '0.0.0.0',
|
||||||
`failed_logins` INT(11) UNSIGNED NOT NULL DEFAULT '0',
|
`failed_logins` int(11) unsigned NOT NULL default '0',
|
||||||
`locked` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
`locked` tinyint(3) unsigned NOT NULL default '0',
|
||||||
`last_login` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00',
|
`last_login` timestamp NOT NULL default '0000-00-00 00:00:00',
|
||||||
`active_realm_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',
|
`active_realm_id` int(11) unsigned NOT NULL default '0',
|
||||||
`expansion` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
`expansion` tinyint(3) unsigned NOT NULL default '0',
|
||||||
`mutetime` BIGINT(40) UNSIGNED NOT NULL DEFAULT '0',
|
`mutetime` bigint(40) unsigned NOT NULL default '0',
|
||||||
`locale` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
`locale` tinyint(3) unsigned NOT NULL default '0',
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `idx_username` (`username`)
|
UNIQUE KEY `idx_username` (`username`)
|
||||||
) ENGINE=MYISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=DYNAMIC COMMENT='Account System';
|
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=DYNAMIC COMMENT='Account System';
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Dumping data for table `account`
|
-- Dumping data for table `account`
|
||||||
|
|
@ -86,7 +86,7 @@ CREATE TABLE `account_access` (
|
||||||
`gmlevel` tinyint(3) unsigned NOT NULL,
|
`gmlevel` tinyint(3) unsigned NOT NULL,
|
||||||
`RealmID` int(11) NOT NULL DEFAULT '-1',
|
`RealmID` int(11) NOT NULL DEFAULT '-1',
|
||||||
PRIMARY KEY (`id`,`RealmID`)
|
PRIMARY KEY (`id`,`RealmID`)
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='account access system';
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Account Access System';
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Dumping data for table `account_access`
|
-- Dumping data for table `account_access`
|
||||||
|
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
ALTER TABLE realmd_db_version CHANGE COLUMN required_0001_xxxxx_01_realmd required_0014_xxxxx_01_realmd_account_access bit;
|
|
||||||
|
|
||||||
ALTER TABLE `account` DROP `gmlevel`;
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `account_access`;
|
|
||||||
|
|
||||||
CREATE TABLE `account_access` (
|
|
||||||
`id` int(10) unsigned NOT NULL,
|
|
||||||
`gmlevel` tinyint(3) unsigned NOT NULL,
|
|
||||||
`RealmID` int(11) NOT NULL DEFAULT '-1',
|
|
||||||
PRIMARY KEY (`id`,`RealmID`)
|
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='account access system';
|
|
||||||
|
|
||||||
INSERT INTO `account_access` VALUES
|
|
||||||
(1,3,-1),
|
|
||||||
(2,2,-1),
|
|
||||||
(3,1,-1),
|
|
||||||
(4,0,-1);
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "0018"
|
#define REVISION_NR "0019"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue