From ced0ece6e1dacfc5b9edaf9473b55945a3320574 Mon Sep 17 00:00:00 2001 From: Smokexyz Date: Wed, 26 Oct 2016 04:01:48 +0530 Subject: zenylog missing type 'K' for Bank Transactions Fixes bug filed here - http://herc.ws/board/topic/13618-db-error-data-truncated-zenylog/ --- sql-files/upgrades/2016-10-26--10-29.sql | 23 +++++++++++++++++++++++ sql-files/upgrades/index.txt | 1 + 2 files changed, 24 insertions(+) create mode 100644 sql-files/upgrades/2016-10-26--10-29.sql (limited to 'sql-files/upgrades') diff --git a/sql-files/upgrades/2016-10-26--10-29.sql b/sql-files/upgrades/2016-10-26--10-29.sql new file mode 100644 index 000000000..cabd7db10 --- /dev/null +++ b/sql-files/upgrades/2016-10-26--10-29.sql @@ -0,0 +1,23 @@ +#1477434595 + +-- 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 . + +ALTER TABLE `zenylog` CHANGE `type` `type` ENUM('T','V','P','M','S','N','D','C','A','E','I','B','K') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'S'; + +INSERT INTO `sql_updates` (`timestamp`, `ignored`) VALUES (1477434595 , 'No'); diff --git a/sql-files/upgrades/index.txt b/sql-files/upgrades/index.txt index 0b1051d76..a382f5999 100644 --- a/sql-files/upgrades/index.txt +++ b/sql-files/upgrades/index.txt @@ -33,3 +33,4 @@ 2016-07-08--02-42.sql 2016-07-08--02-51.sql 2016-10-03--20-27.sql +2016-10-26--10-29.sql -- cgit v1.2.3-60-g2f50