From bfde346b1dfcf12df30f018603b1a28f2e41fba6 Mon Sep 17 00:00:00 2001 From: Amir Date: Wed, 15 Jun 2022 03:25:02 +0800 Subject: [PATCH] commenting group by constraint --- config/database.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/config/database.php b/config/database.php index 86028d3d..3ef90f65 100644 --- a/config/database.php +++ b/config/database.php @@ -61,15 +61,15 @@ return [ 'options' => extension_loaded('pdo_mysql') ? array_filter([ PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), ]) : [], - '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' - ], + // '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' + // ], ], 'mysql2' => [