Skip to content

Commit

Permalink
Charset (#213)
Browse files Browse the repository at this point in the history
* feature: use utf8mb4_0900_ai_ci as default charset

* feature: use utf8mb4_general_ci as default charset
  • Loading branch information
g105b authored Apr 29, 2021
1 parent d1cdee7 commit 168d6a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Connection/DefaultSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class DefaultSettings implements SettingsInterface {
use ImmutableSettings;

const CHARSET = "utf8mb4";
const COLLATION = "utf8mb4_0900_ai_ci";
const COLLATION = "utf8mb4_general_ci";

const DEFAULT_NAME = "default";
const DEFAULT_DRIVER = Settings::DRIVER_SQLITE;
Expand All @@ -31,7 +31,7 @@ class DefaultSettings implements SettingsInterface {
];

const DEFAULT_CHARSET = "utf8mb4";
const DEFAULT_COLLATION = "utf8mb4_0900_ai_ci";
const DEFAULT_COLLATION = "utf8mb4_general_ci";

/** @var string */
protected $baseDirectory;
Expand Down
2 changes: 1 addition & 1 deletion src/Connection/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Settings implements SettingsInterface {
use ImmutableSettings;

const CHARSET = "utf8mb4";
const COLLATION = "utf8mb4_0900_ai_ci";
const COLLATION = "utf8mb4_general_ci";

const DRIVER_MYSQL = "mysql";
const DRIVER_POSTGRES = "pgsql";
Expand Down

0 comments on commit 168d6a7

Please sign in to comment.