dblayeroo : utf8mb4 instead of utf8 charset in MySQL

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4250 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2018-06-15 09:43:28 +00:00
parent b8c900720c
commit 22fdfe5b96

View File

@@ -520,7 +520,7 @@ class dblayeroo
$sql .= " ".$k[2]; $sql .= " ".$k[2];
$i++; $i++;
} }
$sql .=") ENGINE=InnoDB DEFAULT CHARSET=utf8;"; $sql .=") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;";
break; break;
case "pgsql": case "pgsql":
$sql = "CREATE TABLE IF NOT EXISTS ". $sql = "CREATE TABLE IF NOT EXISTS ".