From be651829e76e9c61762e576cdb6922324632e5a2 Mon Sep 17 00:00:00 2001 From: Valentijn Date: Sun, 1 Oct 2017 20:14:52 +0200 Subject: [PATCH] Minor error fix for upgrades from 5.1.3 or earlier Closes #256 and #199. Full credit for locating the fix goes to @LZZZZ. --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index ff994010..f6ddb6a0 100644 --- a/install.php +++ b/install.php @@ -593,7 +593,7 @@ if (file_exists($config['has_installed'])) { `extra` varchar(200), `text` varchar(255), `created_at` int(11), - PRIMARY KEY (`cookie`,`extra`), + PRIMARY KEY (`cookie`,`extra`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;') or error(db_error()); case false: // TODO: enhance Tinyboard -> vichan upgrade path.