commenting group by constraint

This commit is contained in:
Amir
2022-06-15 03:25:02 +08:00
parent 5d44fd8a7b
commit bfde346b1d
+9 -9
View File
@@ -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' => [