diff --git a/config/database.php b/config/database.php index f0ed347..906aa5f 100644 --- a/config/database.php +++ b/config/database.php @@ -93,7 +93,7 @@ 'search_path' => 'public', 'sslmode' => 'prefer', 'options' => [ - PDO::ATTR_EMULATE_PREPARES => true + PDO::ATTR_EMULATE_PREPARES => (bool) env('DB_EMULATE_PREPARES', false), ] ],