Fixed variable type for powergamers script (#492)

exp history should be able to store negative values, yes
online time shouldn't
This commit is contained in:
Evil Puncker 2021-10-13 14:18:43 -03:00 committed by GitHub
parent ec55497c5a
commit bb814f6eae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 34 deletions

View File

@ -25,23 +25,23 @@ end
-- SQL Query to execute: --
--[[
ALTER TABLE `znote_players` ADD `exphist_lastexp` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `exphist1` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `exphist2` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `exphist3` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `exphist4` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `exphist5` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `exphist6` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `exphist7` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetimetoday` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetime1` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetime2` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetime3` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetime4` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetime5` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetime6` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetime7` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetimeall` BIGINT NOT NULL DEFAULT '0';
ALTER TABLE `znote_players` ADD `exphist_lastexp` BIGINT NOT NULL DEFAULT '0',
ADD `exphist1` BIGINT NOT NULL DEFAULT '0',
ADD `exphist2` BIGINT NOT NULL DEFAULT '0',
ADD `exphist3` BIGINT NOT NULL DEFAULT '0',
ADD `exphist4` BIGINT NOT NULL DEFAULT '0',
ADD `exphist5` BIGINT NOT NULL DEFAULT '0',
ADD `exphist6` BIGINT NOT NULL DEFAULT '0',
ADD `exphist7` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetimetoday` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetime1` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetime2` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetime3` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetime4` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetime5` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetime6` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetime7` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetimeall` BIGINT UNSIGNED NOT NULL DEFAULT '0';
]]--
-- after that execute: --

View File

@ -25,23 +25,23 @@ end
-- SQL Query to execute: --
--[[
ALTER TABLE `znote_players` ADD `exphist_lastexp` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `exphist1` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `exphist2` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `exphist3` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `exphist4` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `exphist5` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `exphist6` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `exphist7` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetimetoday` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetime1` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetime2` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetime3` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetime4` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetime5` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetime6` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetime7` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetimeall` BIGINT NOT NULL DEFAULT '0';
ALTER TABLE `znote_players` ADD `exphist_lastexp` BIGINT NOT NULL DEFAULT '0',
ADD `exphist1` BIGINT NOT NULL DEFAULT '0',
ADD `exphist2` BIGINT NOT NULL DEFAULT '0',
ADD `exphist3` BIGINT NOT NULL DEFAULT '0',
ADD `exphist4` BIGINT NOT NULL DEFAULT '0',
ADD `exphist5` BIGINT NOT NULL DEFAULT '0',
ADD `exphist6` BIGINT NOT NULL DEFAULT '0',
ADD `exphist7` BIGINT NOT NULL DEFAULT '0',
ADD `onlinetimetoday` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetime1` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetime2` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetime3` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetime4` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetime5` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetime6` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetime7` BIGINT UNSIGNED NOT NULL DEFAULT '0',
ADD `onlinetimeall` BIGINT UNSIGNED NOT NULL DEFAULT '0';
]]--
-- after that execute: --