From d736e75ade7a4472aefb72af9036f86016adcb42 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 30 Sep 2021 17:44:30 +0200 Subject: [statistics] Adapt hw-data parsing to new json format for display --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.php') diff --git a/install.php b/install.php index 60cf9495..1737e7dc 100644 --- a/install.php +++ b/install.php @@ -262,7 +262,7 @@ function tableCreate($table, $structure, $fatalOnError = true) if (tableExists($table)) { return UPDATE_NOOP; } - $ret = Database::exec("CREATE TABLE IF NOT EXISTS `{$table}` ( {$structure} ) ENGINE=InnoDB DEFAULT CHARSET=utf8"); + $ret = Database::exec("CREATE TABLE IF NOT EXISTS `{$table}` ( {$structure} ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4"); if ($ret !== false) { return UPDATE_DONE; } -- cgit v1.2.3-55-g7522