Skip to content

Commit

Permalink
fix: emulate prepares for postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdan-shulha committed Jul 6, 2024
1 parent 69fd4fe commit bad4e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
]
],

Expand Down

0 comments on commit bad4e73

Please sign in to comment.