mirror of
https://github.com/friendica/friendica
synced 2024-11-10 06:22:53 +00:00
We should only use utf8mb4 for dumpsql and new installations
This commit is contained in:
parent
4aa834564a
commit
6b318ed304
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ function db_create_table($name, $fields, $verbose, $action, $indexes=null) {
|
|||
|
||||
if (isset($a->config["system"]["db_charset"]))
|
||||
$charset = $a->config["system"]["db_charset"];
|
||||
elseif ($verbose)
|
||||
elseif (!$action) // Used for dumpsql
|
||||
$charset = "utf8mb4";
|
||||
else
|
||||
$charset = "utf8";
|
||||
|
|
Loading…
Reference in a new issue