summaryrefslogtreecommitdiff
path: root/sql-files/upgrades
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirp@gmail.com>2016-10-02 19:13:21 +0530
committerhemagx <ibrahem.h.basyone@gmail.com>2016-10-22 02:21:46 +0200
commitabb834567db53424ea84ea4903d18ac9d3b3f61a (patch)
tree9cab2d18ee7d909e5be852723141ef2d3a492c0f /sql-files/upgrades
parentb21e4ad15f1a81154553662ecf330d6a6694dd15 (diff)
downloadhercules-abb834567db53424ea84ea4903d18ac9d3b3f61a.tar.gz
hercules-abb834567db53424ea84ea4903d18ac9d3b3f61a.tar.bz2
hercules-abb834567db53424ea84ea4903d18ac9d3b3f61a.tar.xz
hercules-abb834567db53424ea84ea4903d18ac9d3b3f61a.zip
Added Summoner Class.
(Only Placeholder, other things related to summoner will follow-up soon) Added SQL-Upgrade: Added `class` column in charlog
Diffstat (limited to 'sql-files/upgrades')
-rw-r--r--sql-files/upgrades/2016-10-03--20-27.sql23
-rw-r--r--sql-files/upgrades/index.txt1
2 files changed, 24 insertions, 0 deletions
diff --git a/sql-files/upgrades/2016-10-03--20-27.sql b/sql-files/upgrades/2016-10-03--20-27.sql
new file mode 100644
index 000000000..6ad840e05
--- /dev/null
+++ b/sql-files/upgrades/2016-10-03--20-27.sql
@@ -0,0 +1,23 @@
+#1475526420
+
+-- 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 `charlog` ADD `class` MEDIUMINT(9) NOT NULL DEFAULT '0' AFTER `char_num`;
+
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1475526420);
diff --git a/sql-files/upgrades/index.txt b/sql-files/upgrades/index.txt
index b0347ab72..0b1051d76 100644
--- a/sql-files/upgrades/index.txt
+++ b/sql-files/upgrades/index.txt
@@ -32,3 +32,4 @@
2016-03-10--22-18.sql
2016-07-08--02-42.sql
2016-07-08--02-51.sql
+2016-10-03--20-27.sql