correct database encoding to utf8mb4 and collation to utf8mb4_unicode_ci
This commit is contained in:
parent
324bc2fc19
commit
85dc2f87ec
2 changed files with 210 additions and 210 deletions
418
db/create.sql
418
db/create.sql
File diff suppressed because it is too large
Load diff
|
|
@ -156,7 +156,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set character encoding
|
// Set character encoding
|
||||||
if(!$con->set_charset('utf8')) {
|
if(!$con->set_charset('utf8mb4')) {
|
||||||
throw new \nre\exceptions\DatamodelException($con->connect_error, $con->connect_errno);
|
throw new \nre\exceptions\DatamodelException($con->connect_error, $con->connect_errno);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue