From 7cb300b82ac380468ba40da4eed0eb35a7420089 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 2 Dec 2017 18:54:41 +0100 Subject: Fix DB settings for postgres which doesn't use utf8mb4 Signed-off-by: Florian Pritz --- application/config/example/database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/config/example/database.php') diff --git a/application/config/example/database.php b/application/config/example/database.php index 6b71bf60b..002faff17 100644 --- a/application/config/example/database.php +++ b/application/config/example/database.php @@ -86,8 +86,8 @@ $db['default'] = array( 'db_debug' => TRUE, 'cache_on' => FALSE, 'cachedir' => '', - 'char_set' => 'utf8mb4', - 'dbcollat' => 'utf8mb4_bin', + 'char_set' => 'utf8mb4', // if you use postgres, set this to utf8 + 'dbcollat' => 'utf8mb4_bin', // if you use postgres, set this to utf8_bin 'swap_pre' => '', 'encrypt' => FALSE, 'compress' => FALSE, -- cgit v1.2.3-24-g4f1b