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 5, 2024
1 parent d8b1751 commit 9751a84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"laravel/sanctum": "^4.0",
"laravel/tinker": "^2.9",
"spatie/laravel-data": "^4.7",
"tightenco/ziggy": "^2.0"
"tightenco/ziggy": "^2.0",
"ext-pdo": "*"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.13",
Expand Down
3 changes: 3 additions & 0 deletions config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@
'prefix_indexes' => true,
'search_path' => 'public',
'sslmode' => 'prefer',
'options' => [
PDO::ATTR_EMULATE_PREPARES => true
]
],

'sqlsrv' => [
Expand Down

0 comments on commit 9751a84

Please sign in to comment.