DB: Rename characters' void_storage to character_void_storage

Core: Fix build (/slap subv)
Also proper names for sql files
This commit is contained in:
Nay
2012-08-08 03:42:48 +01:00
parent a781555f94
commit 7249992e28
14 changed files with 40 additions and 38 deletions

View File

@@ -1119,6 +1119,36 @@ LOCK TABLES `character_talent` WRITE;
/*!40000 ALTER TABLE `character_talent` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `character_void_storage`
--
DROP TABLE IF EXISTS `character_void_storage`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_void_storage` (
`itemId` bigint(20) unsigned NOT NULL,
`playerGuid` int(10) unsigned NOT NULL,
`itemEntry` mediumint(8) unsigned NOT NULL,
`slot` tinyint(3) unsigned NOT NULL,
`creatorGuid` int(10) unsigned NOT NULL DEFAULT '0',
`randomProperty` int(10) unsigned NOT NULL DEFAULT '0',
`suffixFactor` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`itemId`),
UNIQUE KEY `idx_player_slot` (`playerGuid`,`slot`),
KEY `idx_player` (`playerGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `character_void_storage`
--
LOCK TABLES `void_storage` WRITE;
/*!40000 ALTER TABLE `character_void_storage` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_void_storage` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `characters`
--
@@ -2265,36 +2295,6 @@ LOCK TABLES `reserved_name` WRITE;
/*!40000 ALTER TABLE `reserved_name` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `void_storage`
--
DROP TABLE IF EXISTS `void_storage`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `void_storage` (
`itemId` bigint(20) unsigned NOT NULL,
`playerGuid` int(10) unsigned NOT NULL,
`itemEntry` mediumint(8) unsigned NOT NULL,
`slot` tinyint(3) unsigned NOT NULL,
`creatorGuid` int(10) unsigned NOT NULL DEFAULT '0',
`randomProperty` int(10) unsigned NOT NULL DEFAULT '0',
`suffixFactor` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`itemId`),
UNIQUE KEY `idx_player_slot` (`playerGuid`,`slot`),
KEY `idx_player` (`playerGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `void_storage`
--
LOCK TABLES `void_storage` WRITE;
/*!40000 ALTER TABLE `void_storage` DISABLE KEYS */;
/*!40000 ALTER TABLE `void_storage` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `warden_action`
--