Browse Source
Merge pull request #17 from biplobice/develop
Add SQL modes to database config for MySQL v8
pull/21/head
Nafies Luthfi
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
8 additions and
0 deletions
-
config/database.php
|
|
@ -52,6 +52,14 @@ return [ |
|
|
'prefix' => '', |
|
|
'prefix' => '', |
|
|
'strict' => true, |
|
|
'strict' => true, |
|
|
'engine' => null, |
|
|
'engine' => null, |
|
|
|
|
|
'modes' => [ |
|
|
|
|
|
'ONLY_FULL_GROUP_BY', |
|
|
|
|
|
'STRICT_TRANS_TABLES', |
|
|
|
|
|
'NO_ZERO_IN_DATE', |
|
|
|
|
|
'NO_ZERO_DATE', |
|
|
|
|
|
'ERROR_FOR_DIVISION_BY_ZERO', |
|
|
|
|
|
'NO_ENGINE_SUBSTITUTION', |
|
|
|
|
|
], |
|
|
], |
|
|
], |
|
|
|
|
|
|
|
|
'pgsql' => [ |
|
|
'pgsql' => [ |
|
|
|