Skip to content

Commit cd37230

Browse files
authored
Change UTF8 to utf8mb4 for MySQL example (#10)
Due to bug in MySQL/MariaDB, utf8mb4 needs to be used for proper UTF-8 encoding.
1 parent e040ced commit cd37230

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/config/database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
'reconnect' => false,
4040
'queries' =>
4141
[
42-
'SET NAMES UTF8',
42+
'SET NAMES utf8mb4',
4343
],
4444
],
4545

0 commit comments

Comments
 (0)