summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-14 19:25:55 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-14 19:25:55 +0300
commite645fbe979e2c21fc8a327c91411c25b0b5ad695 (patch)
treefdb3725a9e672f650782e256b2b5d8cf872d8a1b /sql-files
parent18b81dfb56f52c7b6bd6211d318e5318ce652e9e (diff)
downloadserverdata-e645fbe979e2c21fc8a327c91411c25b0b5ad695.tar.gz
serverdata-e645fbe979e2c21fc8a327c91411c25b0b5ad695.tar.bz2
serverdata-e645fbe979e2c21fc8a327c91411c25b0b5ad695.tar.xz
serverdata-e645fbe979e2c21fc8a327c91411c25b0b5ad695.zip
Update sql scripts.
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/logs.sql21
-rw-r--r--sql-files/upgrades/2016-03-10--22-18.sql22
-rw-r--r--sql-files/upgrades/index.txt4
3 files changed, 44 insertions, 3 deletions
diff --git a/sql-files/logs.sql b/sql-files/logs.sql
index fe875ec6..ab722a2f 100644
--- a/sql-files/logs.sql
+++ b/sql-files/logs.sql
@@ -1,3 +1,22 @@
+-- This file is part of Hercules.
+-- http://herc.ws - http://github.com/HerculesWS/Hercules
+--
+-- Copyright (C) 2012-2015 Hercules Dev Team
+-- Copyright (C) Athena Dev Teams
+--
+-- 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/>.
+
-- PickLog Types
-- (M)onsters Drop
-- (P)layers Drop/Take
@@ -125,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 00000000..80266bcc
--- /dev/null
+++ b/sql-files/upgrades/2016-03-10--22-18.sql
@@ -0,0 +1,22 @@
+#1457638175
+
+-- 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 3a8a6a28..f5cc685e 100644
--- a/sql-files/upgrades/index.txt
+++ b/sql-files/upgrades/index.txt
@@ -27,5 +27,5 @@
2014-11-03--00-45.sql
2015-07-08--13-08.sql
2015-08-27--20-42.sql
-2015-12-16--12-57.sql
-2015-12-17--15-58.sql \ No newline at end of file
+2015-12-17--15-58.sql
+2016-03-10--22-18.sql