fix: disable prepared statements for PgBouncer compatibility
Add PDO::ATTR_EMULATE_PREPARES option to prevent "cached plan must not change result type" errors during rolling deployments with PgBouncer. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
77e895c9e1
commit
84c89a83b8
1 changed files with 3 additions and 0 deletions
|
|
@ -48,6 +48,9 @@
|
|||
'prefix_indexes' => true,
|
||||
'search_path' => 'public',
|
||||
'sslmode' => 'prefer',
|
||||
'options' => [
|
||||
PDO::ATTR_EMULATE_PREPARES => true,
|
||||
],
|
||||
],
|
||||
|
||||
'testing' => [
|
||||
|
|
|
|||
Loading…
Reference in a new issue