diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-08-03 11:42:25 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-08-03 12:05:31 -0300 |
commit | 5aa67a4b49b6cfdcb45203c72a5671b163216313 (patch) | |
tree | 473c4ea67d69a229cb1ea82749bf93e34f88b38c /sql-files | |
parent | 9297de9b9595f34540da18574ad1c1af8831db0d (diff) | |
download | serverdata-5aa67a4b49b6cfdcb45203c72a5671b163216313.tar.gz serverdata-5aa67a4b49b6cfdcb45203c72a5671b163216313.tar.bz2 serverdata-5aa67a4b49b6cfdcb45203c72a5671b163216313.tar.xz serverdata-5aa67a4b49b6cfdcb45203c72a5671b163216313.zip |
This will revert the need of santime - the brute force way.
Diffstat (limited to 'sql-files')
-rw-r--r-- | sql-files/main.sql | 6 | ||||
-rw-r--r-- | sql-files/upgrades/2018-08-03--11-37.sql | 24 | ||||
-rw-r--r-- | sql-files/upgrades/index.txt | 1 |
3 files changed, 28 insertions, 3 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql index d1c6364c6..2d4de5237 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -795,9 +795,9 @@ CREATE TABLE IF NOT EXISTS `quest` ( `quest_id` INT(10) UNSIGNED NOT NULL, `state` ENUM('0','1','2') NOT NULL DEFAULT '0', `time` INT(11) UNSIGNED NOT NULL DEFAULT '0', - `count1` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', - `count2` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', - `count3` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', + `count1` INT(11) UNSIGNED NOT NULL DEFAULT '0', + `count2` INT(11) UNSIGNED NOT NULL DEFAULT '0', + `count3` INT(11) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (`char_id`,`quest_id`) ) ENGINE=MyISAM; diff --git a/sql-files/upgrades/2018-08-03--11-37.sql b/sql-files/upgrades/2018-08-03--11-37.sql new file mode 100644 index 000000000..e8908e899 --- /dev/null +++ b/sql-files/upgrades/2018-08-03--11-37.sql @@ -0,0 +1,24 @@ +#1533307076 + +-- This file is part of Hercules. +-- http://herc.ws - http://github.com/HerculesWS/Hercules +-- +-- Copyright (C) 2018 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 `quest` MODIFY `count1` INT(11) UNSIGNED NOT NULL DEFAULT '0'; +ALTER TABLE `quest` MODIFY `count2` INT(11) UNSIGNED NOT NULL DEFAULT '0'; +ALTER TABLE `quest` MODIFY `count3` INT(11) UNSIGNED NOT NULL DEFAULT '0'; +INSERT INTO `sql_updates` (`timestamp`) VALUES (1533307076); diff --git a/sql-files/upgrades/index.txt b/sql-files/upgrades/index.txt index 1d313a0c8..9fa87743c 100644 --- a/sql-files/upgrades/index.txt +++ b/sql-files/upgrades/index.txt @@ -46,3 +46,4 @@ 2018-03-10--04-06.sql 2018-06-05--12-02.sql 2018-07-24--03-23.sql +2018-08-03--11-37.sql |