From db783bdca57192a4c8b6ffc0aed509e00ce03d15 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 16 Oct 2018 19:39:53 -0300 Subject: Update Discord table fields to be discord-bot compliant --- npc/003-3/malindou.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/003-3') diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 7f242e96a..a8789a065 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -130,10 +130,10 @@ OnInit: // Current UPDATE value: Ter Out 16 17:17:20 -03 2018 // This is a hack because I'm too lazy to be bothered with standard SQL Upgrade system if ($UPDATE < 1539721040) { - query_sql("CREATE TABLE IF NOT EXISTS `discord` (`account_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',`discord_id` VARCHAR(255) NOT NULL DEFAULT '') ENGINE=MyISAM"); + query_sql("CREATE TABLE IF NOT EXISTS `discord` (`account_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',`discord_id` VARCHAR(255) NOT NULL DEFAULT '',`discord_name` VARCHAR(255) NOT NULL DEFAULT '',`verified` ENUM(0, 1) NOT NULL DEFAULT '0') ENGINE=MyISAM"); $UPDATE=1539721040; debugmes ""; - debugmes "* SQL Upgrade (will not work on new installations)"; + debugmes "* SQL Upgrade (no effect on new installations)"; debugmes ""; } -- cgit v1.2.3-60-g2f50