about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-04-09 05:46:32 +0200
committerGitHub <noreply@github.com>2017-04-09 05:46:32 +0200
commitd5a675099a0ccf0c35ce1756f5015108cda1489a (patch)
treeaeac52345c8b088dd76f4046340ff29bb40f5cd2 /config
parentc3e7bac1ccd1b40724f4603052e3c50a1741f5f6 (diff)
Add env variable to disable prepared statements (#1293)
Diffstat (limited to 'config')
-rw-r--r--config/database.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/database.yml b/config/database.yml
index 5ec342f93..810b83278 100644
--- a/config/database.yml
+++ b/config/database.yml
@@ -22,3 +22,4 @@ production:
   password: <%= ENV['DB_PASS'] || '' %>
   host: <%= ENV['DB_HOST'] || 'localhost' %>
   port: <%= ENV['DB_PORT'] || 5432 %>
+  prepared_statements: <%= ENV['PREPARED_STATEMENTS'] || 'true' %>