From 80014b02b55140f274db16da09430b57ec8a9a0c Mon Sep 17 00:00:00 2001 From: Mohit Panjwani Date: Sun, 1 Dec 2019 11:22:28 +0530 Subject: [PATCH] fix sql-mode issue --- config/database.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/config/database.php b/config/database.php index e8785979..1f971c87 100644 --- a/config/database.php +++ b/config/database.php @@ -51,17 +51,8 @@ return [ 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'prefix_indexes' => true, - 'strict' => true, + 'strict' => false, 'engine' => null, - 'modes' => [ - //'ONLY_FULL_GROUP_BY', // Disable this to allow grouping by one column - 'STRICT_TRANS_TABLES', - 'NO_ZERO_IN_DATE', - 'NO_ZERO_DATE', - 'ERROR_FOR_DIVISION_BY_ZERO', - 'NO_AUTO_CREATE_USER', - 'NO_ENGINE_SUBSTITUTION' - ], ], 'pgsql' => [