diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-04-25 02:16:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-05 22:24:25 +0300 |
commit | c30d340136982c6b931099ccc6248bcee3d8b693 (patch) | |
tree | 554d1a90c90531a73656cdc00ae078d2d46f1608 /sql-files/upgrades/2019-04-25--02-12.sql | |
parent | 7a95d8dfe44a37759dab2bef67c65ef5f1786ff4 (diff) | |
download | hercules-c30d340136982c6b931099ccc6248bcee3d8b693.tar.gz hercules-c30d340136982c6b931099ccc6248bcee3d8b693.tar.bz2 hercules-c30d340136982c6b931099ccc6248bcee3d8b693.tar.xz hercules-c30d340136982c6b931099ccc6248bcee3d8b693.zip |
Add sql update for guild_expulsion table
Add field char_id into table guild_expulsion.
Diffstat (limited to 'sql-files/upgrades/2019-04-25--02-12.sql')
-rw-r--r-- | sql-files/upgrades/2019-04-25--02-12.sql | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sql-files/upgrades/2019-04-25--02-12.sql b/sql-files/upgrades/2019-04-25--02-12.sql new file mode 100644 index 000000000..64abe45b6 --- /dev/null +++ b/sql-files/upgrades/2019-04-25--02-12.sql @@ -0,0 +1,24 @@ +#1556147483 + +-- This file is part of Hercules. +-- http://herc.ws - http://github.com/HerculesWS/Hercules +-- +-- Copyright (C) 2013-2019 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/>. + +TRUNCATE TABLE `guild_expulsion`; +ALTER TABLE `guild_expulsion` ADD `char_id` INT(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `account_id`; + +INSERT INTO `sql_updates` (`timestamp`) VALUES (1556147483); |