diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-04-17 21:19:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-04-17 21:19:56 +0300 |
commit | 6c31865241d01c3e960c84ed1949477d140b892a (patch) | |
tree | d9cf53bb2a28e27e9fa13618ad2721f9a40b2af1 /sql-files/upgrades | |
parent | 1501211419288803f459243c4ad645b0a1aa9639 (diff) | |
download | serverdata-6c31865241d01c3e960c84ed1949477d140b892a.tar.gz serverdata-6c31865241d01c3e960c84ed1949477d140b892a.tar.bz2 serverdata-6c31865241d01c3e960c84ed1949477d140b892a.tar.xz serverdata-6c31865241d01c3e960c84ed1949477d140b892a.zip |
Update from hercules.s20180419
Add new configuration options into conf/map/battle/*.
Add new messages into messages.conf.
Add new db attendance_db.conf.
Convert pet db into libconfig format.
Add sql update for attendance db.
Diffstat (limited to 'sql-files/upgrades')
-rw-r--r-- | sql-files/upgrades/2018-03-10--04-06.sql | 24 | ||||
-rw-r--r-- | sql-files/upgrades/index.txt | 1 |
2 files changed, 25 insertions, 0 deletions
diff --git a/sql-files/upgrades/2018-03-10--04-06.sql b/sql-files/upgrades/2018-03-10--04-06.sql new file mode 100644 index 00000000..ee827735 --- /dev/null +++ b/sql-files/upgrades/2018-03-10--04-06.sql @@ -0,0 +1,24 @@ +#1520654809 + +-- This file is part of Hercules. +-- http://herc.ws - http://github.com/HerculesWS/Hercules +-- +-- Copyright (C) 2017 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 `char` ADD COLUMN `attendance_count` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `hotkey_rowshift`; +ALTER TABLE `char` ADD COLUMN `attendance_timer` BIGINT(20) NULL DEFAULT '0' AFTER `attendance_count`; + +INSERT INTO `sql_updates` (`timestamp`, `ignored`) VALUES (1520654809 , 'No'); diff --git a/sql-files/upgrades/index.txt b/sql-files/upgrades/index.txt index 976df13f..dd474ea9 100644 --- a/sql-files/upgrades/index.txt +++ b/sql-files/upgrades/index.txt @@ -43,3 +43,4 @@ 2017-06-04--15-05.sql 2017-11-04--10-39.sql 2018-02-26--15-57.sql +2018-03-10--04-06.sql |