Skip to content

Commit

Permalink
Change UTF8 to utf8mb4 for MySQL example (#10)
Browse files Browse the repository at this point in the history
Due to bug in MySQL/MariaDB, utf8mb4 needs to be used for proper UTF-8 encoding.
  • Loading branch information
n0nag0n authored Apr 1, 2023
1 parent e040ced commit cd37230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
'reconnect' => false,
'queries' =>
[
'SET NAMES UTF8',
'SET NAMES utf8mb4',
],
],

Expand Down

0 comments on commit cd37230

Please sign in to comment.