aboutsummaryrefslogtreecommitdiff
path: root/sql/base
diff options
context:
space:
mode:
Diffstat (limited to 'sql/base')
-rw-r--r--sql/base/auth_database.sql1
-rw-r--r--sql/base/characters_database.sql45
2 files changed, 24 insertions, 22 deletions
diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql
index 14aaa4658e9..a052a74c837 100644
--- a/sql/base/auth_database.sql
+++ b/sql/base/auth_database.sql
@@ -143,6 +143,7 @@ CREATE TABLE `logs` (
`time` int(10) unsigned NOT NULL,
`realm` int(10) unsigned NOT NULL,
`type` tinyint(3) unsigned NOT NULL,
+ `level` tinyint(3) unsigned NOT NULL DEFAULT '0',
`string` text CHARACTER SET latin1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
diff --git a/sql/base/characters_database.sql b/sql/base/characters_database.sql
index 57e5f6f6ab7..d2ec0a94a2b 100644
--- a/sql/base/characters_database.sql
+++ b/sql/base/characters_database.sql
@@ -547,25 +547,26 @@ CREATE TABLE `character_equipmentsets` (
`setindex` tinyint(3) unsigned NOT NULL DEFAULT '0',
`name` varchar(31) NOT NULL,
`iconname` varchar(100) NOT NULL,
- `item0` int(10) unsigned NOT NULL DEFAULT '0',
- `item1` int(10) unsigned NOT NULL DEFAULT '0',
- `item2` int(10) unsigned NOT NULL DEFAULT '0',
- `item3` int(10) unsigned NOT NULL DEFAULT '0',
- `item4` int(10) unsigned NOT NULL DEFAULT '0',
- `item5` int(10) unsigned NOT NULL DEFAULT '0',
- `item6` int(10) unsigned NOT NULL DEFAULT '0',
- `item7` int(10) unsigned NOT NULL DEFAULT '0',
- `item8` int(10) unsigned NOT NULL DEFAULT '0',
- `item9` int(10) unsigned NOT NULL DEFAULT '0',
- `item10` int(10) unsigned NOT NULL DEFAULT '0',
- `item11` int(10) unsigned NOT NULL DEFAULT '0',
- `item12` int(10) unsigned NOT NULL DEFAULT '0',
- `item13` int(10) unsigned NOT NULL DEFAULT '0',
- `item14` int(10) unsigned NOT NULL DEFAULT '0',
- `item15` int(10) unsigned NOT NULL DEFAULT '0',
- `item16` int(10) unsigned NOT NULL DEFAULT '0',
- `item17` int(10) unsigned NOT NULL DEFAULT '0',
- `item18` int(10) unsigned NOT NULL DEFAULT '0',
+ `ignore_mask` int(11) unsigned NOT NULL DEFAULT '0',
+ `item0` int(11) unsigned NOT NULL DEFAULT '0',
+ `item1` int(11) unsigned NOT NULL DEFAULT '0',
+ `item2` int(11) unsigned NOT NULL DEFAULT '0',
+ `item3` int(11) unsigned NOT NULL DEFAULT '0',
+ `item4` int(11) unsigned NOT NULL DEFAULT '0',
+ `item5` int(11) unsigned NOT NULL DEFAULT '0',
+ `item6` int(11) unsigned NOT NULL DEFAULT '0',
+ `item7` int(11) unsigned NOT NULL DEFAULT '0',
+ `item8` int(11) unsigned NOT NULL DEFAULT '0',
+ `item9` int(11) unsigned NOT NULL DEFAULT '0',
+ `item10` int(11) unsigned NOT NULL DEFAULT '0',
+ `item11` int(11) unsigned NOT NULL DEFAULT '0',
+ `item12` int(11) unsigned NOT NULL DEFAULT '0',
+ `item13` int(11) unsigned NOT NULL DEFAULT '0',
+ `item14` int(11) unsigned NOT NULL DEFAULT '0',
+ `item15` int(11) unsigned NOT NULL DEFAULT '0',
+ `item16` int(11) unsigned NOT NULL DEFAULT '0',
+ `item17` int(11) unsigned NOT NULL DEFAULT '0',
+ `item18` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`setguid`),
UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`),
KEY `Idx_setindex` (`setindex`)
@@ -1128,7 +1129,7 @@ DROP TABLE IF EXISTS `characters`;
CREATE TABLE `characters` (
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`account` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
- `name` varchar(12) NOT NULL DEFAULT '',
+ `name` varchar(12) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`race` tinyint(3) unsigned NOT NULL DEFAULT '0',
`class` tinyint(3) unsigned NOT NULL DEFAULT '0',
`gender` tinyint(3) unsigned NOT NULL DEFAULT '0',
@@ -1176,7 +1177,7 @@ CREATE TABLE `characters` (
`chosenTitle` int(10) unsigned NOT NULL DEFAULT '0',
`knownCurrencies` bigint(20) unsigned NOT NULL DEFAULT '0',
`watchedFaction` int(10) unsigned NOT NULL DEFAULT '0',
- `drunk` smallint(5) unsigned NOT NULL DEFAULT '0',
+ `drunk` tinyint(3) unsigned NOT NULL DEFAULT '0',
`health` int(10) unsigned NOT NULL DEFAULT '0',
`power1` int(10) unsigned NOT NULL DEFAULT '0',
`power2` int(10) unsigned NOT NULL DEFAULT '0',
@@ -2275,4 +2276,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
--- Dump completed on 2012-03-25 21:14:19
+-- Dump completed on 2012-09-08 15:27:29