summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-10 22:33:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-10 23:31:49 +0300
commitca5f133a7c57854e3f02acdb616d3c14e21bcf6b (patch)
tree8ffeff868a956df5bd3212592a4c13512cb46f95
parente3993d5eb974ab13d256f1cce946ec1e055192c8 (diff)
downloadhercules-ca5f133a7c57854e3f02acdb616d3c14e21bcf6b.tar.gz
hercules-ca5f133a7c57854e3f02acdb616d3c14e21bcf6b.tar.bz2
hercules-ca5f133a7c57854e3f02acdb616d3c14e21bcf6b.tar.xz
hercules-ca5f133a7c57854e3f02acdb616d3c14e21bcf6b.zip
Update sql scripts.
-rw-r--r--sql-files/logs.sql2
-rw-r--r--sql-files/upgrades/2016-03-10--22-18.sql22
-rw-r--r--sql-files/upgrades/index.txt1
-rw-r--r--sql-files/upgrades/rAthena-logs-upgrade.sql2
4 files changed, 25 insertions, 2 deletions
diff --git a/sql-files/logs.sql b/sql-files/logs.sql
index 0c97fdecf..ab722a2fe 100644
--- a/sql-files/logs.sql
+++ b/sql-files/logs.sql
@@ -144,7 +144,7 @@ CREATE TABLE IF NOT EXISTS `picklog` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
`char_id` INT(11) NOT NULL DEFAULT '0',
- `type` ENUM('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X','D','U') NOT NULL DEFAULT 'P',
+ `type` ENUM('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X','D','U','K','Y','Z','W','Q','J','H','@','0','1','2') NOT NULL DEFAULT 'P',
`nameid` INT(11) NOT NULL DEFAULT '0',
`amount` INT(11) NOT NULL DEFAULT '1',
`refine` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
diff --git a/sql-files/upgrades/2016-03-10--22-18.sql b/sql-files/upgrades/2016-03-10--22-18.sql
new file mode 100644
index 000000000..9001d0214
--- /dev/null
+++ b/sql-files/upgrades/2016-03-10--22-18.sql
@@ -0,0 +1,22 @@
+#1450367880
+
+-- This file is part of Hercules.
+-- http://herc.ws - http://github.com/HerculesWS/Hercules
+--
+-- Copyright (C) 2015-2016 Hercules Dev Team
+--
+-- Hercules is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ALTER TABLE `picklog` MODIFY `type` enum('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X','D','U','K','Y','Z','W','Q','J','H','@','0','1','2') NOT NULL default 'P';
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1457638175)
diff --git a/sql-files/upgrades/index.txt b/sql-files/upgrades/index.txt
index e73a8659d..6e81bd199 100644
--- a/sql-files/upgrades/index.txt
+++ b/sql-files/upgrades/index.txt
@@ -29,3 +29,4 @@
2015-07-08--13-08.sql
2015-08-27--20-42.sql
2015-12-17--15-58.sql
+2016-03-10--22-18.sql
diff --git a/sql-files/upgrades/rAthena-logs-upgrade.sql b/sql-files/upgrades/rAthena-logs-upgrade.sql
index b0faed244..5e9dbf60c 100644
--- a/sql-files/upgrades/rAthena-logs-upgrade.sql
+++ b/sql-files/upgrades/rAthena-logs-upgrade.sql
@@ -34,7 +34,7 @@ DROP TABLE IF EXISTS `cashlog`;
ALTER TABLE `mvplog` MODIFY `prize` INT(11) NOT NULL DEFAULT '0';
-- Upgrades to table `picklog`
-ALTER TABLE `picklog` MODIFY `type` enum('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X','D','U') NOT NULL default 'P';
+ALTER TABLE `picklog` MODIFY `type` enum('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X','D','U','K','Y','Z','W','Q','J','H','@','0','1','2') NOT NULL default 'P';
ALTER TABLE `picklog` MODIFY `nameid` INT(11) NOT NULL DEFAULT '0';
ALTER TABLE `picklog` MODIFY `card0` INT(11) NOT NULL DEFAULT '0';
ALTER TABLE `picklog` MODIFY `card1` INT(11) NOT NULL DEFAULT '0';