diff --git a/config/database.php b/config/database.php index 19784612..e9adf8ee 100644 --- a/config/database.php +++ b/config/database.php @@ -65,7 +65,7 @@ return [ 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'prefix_indexes' => true, - 'strict' => true, + 'strict' => env('DB_STRICT', true), 'engine' => null, 'options' => extension_loaded('pdo_mysql') ? array_filter([ PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),