diff --git a/sql/characlass.sql b/sql/characlass.sql index 7c092871..807d6a6a 100644 --- a/sql/characlass.sql +++ b/sql/characlass.sql @@ -1,100 +1,82 @@ --- MySQL dump 10.13 Distrib 5.7.13, for Win64 (x86_64) --- --- Host: localhost Database: sapphire --- ------------------------------------------------------ --- Server version 5.7.13-log - -/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; -/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; -/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8 */; -/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; -/*!40103 SET TIME_ZONE='+00:00' */; -/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; -/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; -/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; -/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; - --- --- Table structure for table `characlass` --- - -DROP TABLE IF EXISTS `characlass`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `characlass` ( - `Lv_0` int(5) DEFAULT '0', - `Exp_0` int(10) DEFAULT '0', - `Lv_1` int(5) DEFAULT '0', - `Exp_1` int(10) DEFAULT '0', - `Lv_2` int(5) DEFAULT '0', - `Exp_2` int(10) DEFAULT '0', - `Lv_3` int(5) DEFAULT '0', - `Exp_3` int(10) DEFAULT '0', - `Lv_4` int(5) DEFAULT '0', - `Exp_4` int(10) DEFAULT '0', - `Lv_5` int(5) DEFAULT '0', - `Exp_5` int(10) DEFAULT '0', - `Lv_6` int(5) DEFAULT '0', - `Exp_6` int(10) DEFAULT '0', - `Lv_7` int(5) DEFAULT '0', - `Exp_7` int(10) DEFAULT '0', - `Lv_8` int(5) DEFAULT '0', - `Exp_8` int(10) DEFAULT '0', - `Lv_9` int(5) DEFAULT '0', - `Exp_9` int(10) DEFAULT '0', - `Lv_10` int(5) DEFAULT '0', - `Exp_10` int(10) DEFAULT '0', - `Lv_11` int(5) DEFAULT '0', - `Exp_11` int(10) DEFAULT '0', - `Lv_12` int(5) DEFAULT '0', - `Exp_12` int(10) DEFAULT '0', - `Lv_13` int(5) DEFAULT '0', - `Exp_13` int(10) DEFAULT '0', - `Lv_14` int(5) DEFAULT '0', - `Exp_14` int(10) DEFAULT '0', - `Lv_15` int(5) DEFAULT '0', - `Exp_15` int(10) DEFAULT '0', - `Lv_16` int(5) DEFAULT '0', - `Exp_16` int(10) DEFAULT '0', - `Lv_17` int(5) DEFAULT '0', - `Exp_17` int(10) DEFAULT '0', - `Lv_18` int(5) DEFAULT '0', - `Exp_18` int(10) DEFAULT '0', - `Lv_19` int(5) NOT NULL DEFAULT '0', - `Exp_19` int(10) NOT NULL DEFAULT '0', - `Lv_20` int(5) NOT NULL DEFAULT '0', - `Exp_20` int(10) NOT NULL DEFAULT '0', - `Lv_21` int(5) NOT NULL DEFAULT '0', - `Exp_21` int(10) NOT NULL DEFAULT '0', - `Lv_22` int(5) NOT NULL DEFAULT '0', - `Exp_22` int(10) NOT NULL DEFAULT '0', - `Lv_23` int(5) DEFAULT '0', - `Exp_23` int(10) DEFAULT '0', - `CharacterId` int(20) NOT NULL DEFAULT '0', - `IS_DELETE` int(3) DEFAULT '0', - `IS_NOT_ACTIVE_FLG` int(3) DEFAULT '0', - `UPDATE_DATE` datetime DEFAULT NULL, - PRIMARY KEY (`CharacterId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `characlass` --- - -LOCK TABLES `characlass` WRITE; -/*!40000 ALTER TABLE `characlass` DISABLE KEYS */; -/*!40000 ALTER TABLE `characlass` ENABLE KEYS */; -UNLOCK TABLES; -/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; - -/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; -/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; -/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; -/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; -/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; -/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; -/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; - --- Dump completed on 2016-12-09 17:37:12 +-- -------------------------------------------------------- +-- Host: 127.0.0.1 +-- Server version: 10.1.24-MariaDB - mariadb.org binary distribution +-- Server OS: Win32 +-- HeidiSQL Version: 9.4.0.5125 +-- -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!50503 SET NAMES utf8mb4 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; + +-- Dumping structure for table sapphire.characlass +CREATE TABLE IF NOT EXISTS `characlass` ( + `Lv_0` int(5) DEFAULT '0', + `Exp_0` int(10) DEFAULT '0', + `Lv_1` int(5) DEFAULT '0', + `Exp_1` int(10) DEFAULT '0', + `Lv_2` int(5) DEFAULT '0', + `Exp_2` int(10) DEFAULT '0', + `Lv_3` int(5) DEFAULT '0', + `Exp_3` int(10) DEFAULT '0', + `Lv_4` int(5) DEFAULT '0', + `Exp_4` int(10) DEFAULT '0', + `Lv_5` int(5) DEFAULT '0', + `Exp_5` int(10) DEFAULT '0', + `Lv_6` int(5) DEFAULT '0', + `Exp_6` int(10) DEFAULT '0', + `Lv_7` int(5) DEFAULT '0', + `Exp_7` int(10) DEFAULT '0', + `Lv_8` int(5) DEFAULT '0', + `Exp_8` int(10) DEFAULT '0', + `Lv_9` int(5) DEFAULT '0', + `Exp_9` int(10) DEFAULT '0', + `Lv_10` int(5) DEFAULT '0', + `Exp_10` int(10) DEFAULT '0', + `Lv_11` int(5) DEFAULT '0', + `Exp_11` int(10) DEFAULT '0', + `Lv_12` int(5) DEFAULT '0', + `Exp_12` int(10) DEFAULT '0', + `Lv_13` int(5) DEFAULT '0', + `Exp_13` int(10) DEFAULT '0', + `Lv_14` int(5) DEFAULT '0', + `Exp_14` int(10) DEFAULT '0', + `Lv_15` int(5) DEFAULT '0', + `Exp_15` int(10) DEFAULT '0', + `Lv_16` int(5) DEFAULT '0', + `Exp_16` int(10) DEFAULT '0', + `Lv_17` int(5) DEFAULT '0', + `Exp_17` int(10) DEFAULT '0', + `Lv_18` int(5) DEFAULT '0', + `Exp_18` int(10) DEFAULT '0', + `Lv_19` int(5) NOT NULL DEFAULT '0', + `Exp_19` int(10) NOT NULL DEFAULT '0', + `Lv_20` int(5) NOT NULL DEFAULT '0', + `Exp_20` int(10) NOT NULL DEFAULT '0', + `Lv_21` int(5) NOT NULL DEFAULT '0', + `Exp_21` int(10) NOT NULL DEFAULT '0', + `Lv_22` int(5) NOT NULL DEFAULT '0', + `Exp_22` int(10) NOT NULL DEFAULT '0', + `Lv_23` int(5) DEFAULT '0', + `Exp_23` int(10) DEFAULT '0', + `Lv_24` int(5) NOT NULL DEFAULT '0', + `Exp_24` int(10) NOT NULL DEFAULT '0', + `Lv_25` int(5) NOT NULL DEFAULT '0', + `Exp_25` int(19) NOT NULL DEFAULT '0', + `CharacterId` int(20) NOT NULL DEFAULT '0', + `IS_DELETE` int(3) DEFAULT '0', + `IS_NOT_ACTIVE_FLG` int(3) DEFAULT '0', + `UPDATE_DATE` datetime DEFAULT NULL, + PRIMARY KEY (`CharacterId`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- Dumping data for table sapphire.characlass: 0 rows +DELETE FROM `characlass`; +/*!40000 ALTER TABLE `characlass` DISABLE KEYS */; +/*!40000 ALTER TABLE `characlass` ENABLE KEYS */; + +/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */; +/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/sql/charadetail.sql b/sql/charadetail.sql index 923662fc..1b27b1af 100644 --- a/sql/charadetail.sql +++ b/sql/charadetail.sql @@ -1,116 +1,87 @@ --- MySQL dump 10.13 Distrib 5.7.13, for Win64 (x86_64) --- --- Host: localhost Database: sapphire --- ------------------------------------------------------ --- Server version 5.7.13-log - -/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; -/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; -/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8 */; -/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; -/*!40103 SET TIME_ZONE='+00:00' */; -/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; -/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; -/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; -/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; - --- --- Table structure for table `charadetail` --- - -DROP TABLE IF EXISTS `charadetail`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; -SET time_zone = "+00:00"; - -CREATE TABLE charadetail ( - `GuardianDeity` int(3) DEFAULT NULL, - `BirthDay` int(3) DEFAULT NULL, - `BirthMonth` int(3) NOT NULL, - `Class` int(3) DEFAULT NULL, - `MakeValid` int(3) DEFAULT NULL, - `RetainerId` int(20) DEFAULT NULL, - `RetainerName` varchar(32) DEFAULT NULL, - `CreateUnixTime` int(20) DEFAULT NULL, - `IsActive` int(3) DEFAULT NULL, - `IsRename` int(3) DEFAULT NULL, - `Status` int(3) DEFAULT NULL, - `Platform` varchar(32) DEFAULT NULL, - `TotalPlayTime` int(10) DEFAULT '0', - `TotalPlayTimeSecond` float DEFAULT NULL, - `FirstClass` int(3) DEFAULT NULL, - `HomePoint` int(3) DEFAULT NULL, - `FavoritePoint` binary(3) DEFAULT NULL, - `RestPoint` int(10) DEFAULT NULL, - `RentalTimer` float DEFAULT NULL, - `StartTown` int(3) DEFAULT NULL, - `ActiveTitle` int(5) DEFAULT NULL, - `TitleList` binary(32) DEFAULT NULL, - `Achievement` binary(16) DEFAULT NULL, - `Aetheryte` binary(12) DEFAULT NULL, - `HowTo` binary(32) DEFAULT NULL, - `Minions` binary(32) DEFAULT NULL, - `Mounts` binary(11) DEFAULT NULL, - `EquippedMannequin` int(5) DEFAULT NULL, - `ConfigFlags` smallint(5) NOT NULL DEFAULT '0', - `GatheringHistoryPointId` binary(8) DEFAULT NULL, - `GatheringDivisionOpenFla` binary(40) DEFAULT NULL, - `GatheringItemGetFlags` binary(60) DEFAULT NULL, - `RecipeDivisionOpenFlags` binary(80) DEFAULT NULL, - `RecipeCreateFlags` binary(100) DEFAULT NULL, - `QuestCompleteFlags` binary(200) DEFAULT NULL, - `LeveCompleteFlags` binary(200) DEFAULT NULL, - `OpeningSequence` int(3) DEFAULT NULL, - `QuestTracking` binary(10) DEFAULT NULL, - `LeveTicketNum` int(3) DEFAULT NULL, - `LeveTicketLastGetTime` int(10) DEFAULT NULL, - `GuildleveAssignmentSeed` int(5) DEFAULT NULL, - `GuildleveAssignmentCount` int(3) DEFAULT NULL, - `GuildleveFactionCreditBr` int(5) DEFAULT NULL, - `GuildleveFactionCreditAz` int(5) DEFAULT NULL, - `GuildleveFactionCreditHo` int(5) DEFAULT NULL, - `GrandCompany` int(3) DEFAULT NULL, - `GrandCompanyRank` binary(3) DEFAULT NULL, - `Discovery` blob, - `ContentRetryTime` blob, - `ContentJoinTime` int(10) DEFAULT NULL, - `ContentClearFlag` blob, - `CFPenaltyUntil` int unsigned NOT NULL DEFAULT '0', - `TownWarpFstFlags` binary(2) DEFAULT NULL, - `PathId` int(10) DEFAULT NULL, - `StepIndex` int(5) DEFAULT NULL, - `ChocoboTaxiStandFlags` binary(8) DEFAULT NULL, - `unlocks` binary(64) DEFAULT NULL, - `CharacterId` int(20) NOT NULL DEFAULT '0', - `IS_DELETE` int(3) DEFAULT '0', - `IS_NOT_ACTIVE_FLG` int(3) DEFAULT '0', - `UPDATE_DATE` datetime DEFAULT NULL -) ENGINE=MyISAM DEFAULT CHARSET=utf8; - - -ALTER TABLE charadetail - ADD PRIMARY KEY (`CharacterId`); - -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `charadetail` --- - -LOCK TABLES `charadetail` WRITE; -/*!40000 ALTER TABLE `charadetail` DISABLE KEYS */; -/*!40000 ALTER TABLE `charadetail` ENABLE KEYS */; -UNLOCK TABLES; -/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; - -/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; -/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; -/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; -/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; -/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; -/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; -/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; - --- Dump completed on 2016-12-09 17:37:12 +-- -------------------------------------------------------- +-- Host: 127.0.0.1 +-- Server version: 10.1.24-MariaDB - mariadb.org binary distribution +-- Server OS: Win32 +-- HeidiSQL Version: 9.4.0.5125 +-- -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!50503 SET NAMES utf8mb4 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; + +-- Dumping structure for table sapphire.charadetail +CREATE TABLE IF NOT EXISTS `charadetail` ( + `GuardianDeity` int(3) DEFAULT NULL, + `BirthDay` int(3) DEFAULT NULL, + `BirthMonth` int(3) NOT NULL, + `Class` int(3) DEFAULT NULL, + `MakeValid` int(3) DEFAULT NULL, + `RetainerId` int(20) DEFAULT NULL, + `RetainerName` varchar(32) DEFAULT NULL, + `CreateUnixTime` int(20) DEFAULT NULL, + `IsActive` int(3) DEFAULT NULL, + `IsRename` int(3) DEFAULT NULL, + `Status` int(3) DEFAULT NULL, + `Platform` varchar(32) DEFAULT NULL, + `TotalPlayTime` int(10) DEFAULT '0', + `TotalPlayTimeSecond` float DEFAULT NULL, + `FirstClass` int(3) DEFAULT NULL, + `HomePoint` int(3) DEFAULT NULL, + `FavoritePoint` binary(3) DEFAULT NULL, + `RestPoint` int(10) DEFAULT NULL, + `RentalTimer` float DEFAULT NULL, + `StartTown` int(3) DEFAULT NULL, + `ActiveTitle` int(5) DEFAULT NULL, + `TitleList` binary(32) DEFAULT NULL, + `Achievement` binary(16) DEFAULT NULL, + `Aetheryte` binary(16) DEFAULT NULL, + `HowTo` binary(33) DEFAULT NULL, + `Minions` binary(33) DEFAULT NULL, + `Mounts` binary(13) DEFAULT NULL, + `EquippedMannequin` int(5) DEFAULT NULL, + `ConfigFlags` smallint(5) NOT NULL DEFAULT '0', + `GatheringHistoryPointId` binary(8) DEFAULT NULL, + `GatheringDivisionOpenFla` binary(40) DEFAULT NULL, + `GatheringItemGetFlags` binary(60) DEFAULT NULL, + `RecipeDivisionOpenFlags` binary(80) DEFAULT NULL, + `RecipeCreateFlags` binary(100) DEFAULT NULL, + `QuestCompleteFlags` binary(200) DEFAULT NULL, + `LeveCompleteFlags` binary(200) DEFAULT NULL, + `OpeningSequence` int(3) DEFAULT '0', + `QuestTracking` binary(10) DEFAULT NULL, + `LeveTicketNum` int(3) DEFAULT NULL, + `LeveTicketLastGetTime` int(10) DEFAULT NULL, + `GuildleveAssignmentSeed` int(5) DEFAULT NULL, + `GuildleveAssignmentCount` int(3) DEFAULT NULL, + `GuildleveFactionCreditBr` int(5) DEFAULT NULL, + `GuildleveFactionCreditAz` int(5) DEFAULT NULL, + `GuildleveFactionCreditHo` int(5) DEFAULT NULL, + `GrandCompany` int(3) DEFAULT NULL, + `GrandCompanyRank` binary(3) DEFAULT NULL, + `Discovery` blob, + `ContentRetryTime` blob, + `ContentJoinTime` int(10) DEFAULT NULL, + `ContentClearFlag` blob, + `CFPenaltyUntil` int(10) unsigned NOT NULL DEFAULT '0', + `TownWarpFstFlags` binary(2) DEFAULT NULL, + `PathId` int(10) DEFAULT NULL, + `StepIndex` int(5) DEFAULT NULL, + `ChocoboTaxiStandFlags` binary(8) DEFAULT NULL, + `unlocks` binary(64) DEFAULT NULL, + `CharacterId` int(20) NOT NULL DEFAULT '0', + `IS_DELETE` int(3) DEFAULT '0', + `IS_NOT_ACTIVE_FLG` int(3) DEFAULT '0', + `UPDATE_DATE` datetime DEFAULT NULL, + PRIMARY KEY (`CharacterId`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- Dumping data for table sapphire.charadetail: 0 rows +DELETE FROM `charadetail`; +/*!40000 ALTER TABLE `charadetail` DISABLE KEYS */; +/*!40000 ALTER TABLE `charadetail` ENABLE KEYS */; + +/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */; +/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/sql/charaiteminventory.sql b/sql/charaiteminventory.sql index 15b78f31..ee1c377a 100644 --- a/sql/charaiteminventory.sql +++ b/sql/charaiteminventory.sql @@ -1,81 +1,69 @@ --- MySQL dump 10.13 Distrib 5.7.13, for Win64 (x86_64) --- --- Host: localhost Database: sapphire --- ------------------------------------------------------ --- Server version 5.7.13-log - -/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; -/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; -/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8 */; -/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; -/*!40103 SET TIME_ZONE='+00:00' */; -/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; -/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; -/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; -/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; - --- --- Table structure for table `charaiteminventory` --- - -DROP TABLE IF EXISTS `charaiteminventory`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `charaiteminventory` ( - `CharacterId` int(20) NOT NULL, - `storageId` int(10) NOT NULL, - `type` int(5) DEFAULT '0', - `idx` int(5) NOT NULL AUTO_INCREMENT, - `container_0` int(20) DEFAULT '0', - `container_1` int(20) DEFAULT '0', - `container_2` int(20) DEFAULT '0', - `container_3` int(20) DEFAULT '0', - `container_4` int(20) DEFAULT '0', - `container_5` int(20) DEFAULT '0', - `container_6` int(20) DEFAULT '0', - `container_7` int(20) DEFAULT '0', - `container_8` int(20) DEFAULT '0', - `container_9` int(20) DEFAULT '0', - `container_10` int(20) DEFAULT '0', - `container_11` int(20) DEFAULT '0', - `container_12` int(20) DEFAULT '0', - `container_13` int(20) DEFAULT '0', - `container_14` int(20) DEFAULT '0', - `container_15` int(20) DEFAULT '0', - `container_16` int(20) DEFAULT '0', - `container_17` int(20) DEFAULT '0', - `container_18` int(20) DEFAULT '0', - `container_19` int(20) DEFAULT '0', - `container_20` int(20) DEFAULT '0', - `container_21` int(20) DEFAULT '0', - `container_22` int(20) DEFAULT '0', - `container_23` int(20) DEFAULT '0', - `container_24` int(20) DEFAULT '0', - `IS_DELETE` int(3) DEFAULT '0', - `IS_NOT_ACTIVE_FLG` int(3) DEFAULT '0', - `UPDATE_DATE` datetime DEFAULT CURRENT_TIMESTAMP, - PRIMARY KEY (`CharacterId`,`storageId`), - UNIQUE KEY `idx` (`idx`) -) ENGINE=MyISAM AUTO_INCREMENT=161 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `charaiteminventory` --- - -LOCK TABLES `charaiteminventory` WRITE; -/*!40000 ALTER TABLE `charaiteminventory` DISABLE KEYS */; -/*!40000 ALTER TABLE `charaiteminventory` ENABLE KEYS */; -UNLOCK TABLES; -/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; - -/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; -/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; -/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; -/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; -/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; -/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; -/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; - --- Dump completed on 2016-12-09 17:37:10 +-- -------------------------------------------------------- +-- Host: 127.0.0.1 +-- Server version: 10.1.24-MariaDB - mariadb.org binary distribution +-- Server OS: Win32 +-- HeidiSQL Version: 9.4.0.5125 +-- -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!50503 SET NAMES utf8mb4 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; + +-- Dumping structure for table sapphire.charaiteminventory +CREATE TABLE IF NOT EXISTS `charaiteminventory` ( + `CharacterId` int(20) NOT NULL, + `storageId` int(10) NOT NULL, + `type` int(5) DEFAULT '0', + `idx` int(5) NOT NULL AUTO_INCREMENT, + `container_0` int(20) DEFAULT '0', + `container_1` int(20) DEFAULT '0', + `container_2` int(20) DEFAULT '0', + `container_3` int(20) DEFAULT '0', + `container_4` int(20) DEFAULT '0', + `container_5` int(20) DEFAULT '0', + `container_6` int(20) DEFAULT '0', + `container_7` int(20) DEFAULT '0', + `container_8` int(20) DEFAULT '0', + `container_9` int(20) DEFAULT '0', + `container_10` int(20) DEFAULT '0', + `container_11` int(20) DEFAULT '0', + `container_12` int(20) DEFAULT '0', + `container_13` int(20) DEFAULT '0', + `container_14` int(20) DEFAULT '0', + `container_15` int(20) DEFAULT '0', + `container_16` int(20) DEFAULT '0', + `container_17` int(20) DEFAULT '0', + `container_18` int(20) DEFAULT '0', + `container_19` int(20) DEFAULT '0', + `container_20` int(20) DEFAULT '0', + `container_21` int(20) DEFAULT '0', + `container_22` int(20) DEFAULT '0', + `container_23` int(20) DEFAULT '0', + `container_24` int(20) DEFAULT '0', + `container_25` int(20) NOT NULL, + `container_26` int(20) NOT NULL, + `container_27` int(20) NOT NULL, + `container_28` int(20) NOT NULL, + `container_29` int(20) NOT NULL, + `container_30` int(20) NOT NULL, + `container_31` int(20) NOT NULL, + `container_32` int(20) NOT NULL, + `container_33` int(20) NOT NULL, + `container_34` int(20) NOT NULL, + `IS_DELETE` int(3) DEFAULT '0', + `IS_NOT_ACTIVE_FLG` int(3) DEFAULT '0', + `UPDATE_DATE` datetime DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`CharacterId`,`storageId`), + UNIQUE KEY `idx` (`idx`) +) ENGINE=MyISAM AUTO_INCREMENT=161 DEFAULT CHARSET=utf8; + +-- Dumping data for table sapphire.charaiteminventory: 0 rows +DELETE FROM `charaiteminventory`; +/*!40000 ALTER TABLE `charaiteminventory` DISABLE KEYS */; +/*!40000 ALTER TABLE `charaiteminventory` ENABLE KEYS */; + +/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */; +/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;