summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
authorDastgir <dastgirp@gmail.com>2019-10-12 14:26:22 +0530
committerHaru <haru@dotalux.com>2019-11-17 15:25:53 +0100
commit8b361e2b31d9926a83befb012a27edc4c6ee59d1 (patch)
treef3a1a1de26a719dfb4ace465eb94727a0db550c1 /sql-files
parent227c4416b86549364a3cfaac55295dd29fafed46 (diff)
downloadhercules-8b361e2b31d9926a83befb012a27edc4c6ee59d1.tar.gz
hercules-8b361e2b31d9926a83befb012a27edc4c6ee59d1.tar.bz2
hercules-8b361e2b31d9926a83befb012a27edc4c6ee59d1.tar.xz
hercules-8b361e2b31d9926a83befb012a27edc4c6ee59d1.zip
Added SQL Files
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/logs.sql2
-rw-r--r--sql-files/main.sql1
-rw-r--r--sql-files/upgrades/2019-10-12--14-21.sql23
-rw-r--r--sql-files/upgrades/index.txt1
4 files changed, 26 insertions, 1 deletions
diff --git a/sql-files/logs.sql b/sql-files/logs.sql
index 6edf385a2..339f6ca46 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 NULL,
`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','K','Y','Z','W','Q','J','H','@','0','1','2') 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','3') 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/main.sql b/sql-files/main.sql
index 4627799aa..c4e5afaf3 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -933,6 +933,7 @@ INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1556147483); -- 2019-04-2
INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1557414445); -- 2019-05-09--18-07.sql
INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1565293394); -- 2019-08-08--19-43.sql
INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1570309293); -- 2019-10-05--19-01.sql
+INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1570870260); -- 2019-10-21--14-21.sql
--
-- Table structure for table `storage`
diff --git a/sql-files/upgrades/2019-10-12--14-21.sql b/sql-files/upgrades/2019-10-12--14-21.sql
new file mode 100644
index 000000000..bd885a874
--- /dev/null
+++ b/sql-files/upgrades/2019-10-12--14-21.sql
@@ -0,0 +1,23 @@
+#1570870260
+
+-- This file is part of Hercules.
+-- http://herc.ws - http://github.com/HerculesWS/Hercules
+--
+-- Copyright (C) 2019 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', '3') NOT NULL DEFAULT 'P',
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1570870260);
diff --git a/sql-files/upgrades/index.txt b/sql-files/upgrades/index.txt
index 10eb30762..2db750247 100644
--- a/sql-files/upgrades/index.txt
+++ b/sql-files/upgrades/index.txt
@@ -57,3 +57,4 @@
2019-05-09--18-07.sql
2019-08-08--19-43.sql
2019-10-05--19-01.sql
+2019-10-12--14-21.sql