mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 17:21:04 +00:00
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:
@@ -48,6 +48,9 @@ return [
|
||||
'prefix_indexes' => true,
|
||||
'search_path' => 'public',
|
||||
'sslmode' => 'prefer',
|
||||
'options' => [
|
||||
PDO::ATTR_EMULATE_PREPARES => true,
|
||||
],
|
||||
],
|
||||
|
||||
'testing' => [
|
||||
|
||||
Reference in New Issue
Block a user