aboutsummaryrefslogtreecommitdiffstats
path: root/railties/configs/databases/postgresql.yml
diff options
context:
space:
mode:
Diffstat (limited to 'railties/configs/databases/postgresql.yml')
-rw-r--r--railties/configs/databases/postgresql.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/configs/databases/postgresql.yml b/railties/configs/databases/postgresql.yml
index 3c146c13a1..ee5a9d117a 100644
--- a/railties/configs/databases/postgresql.yml
+++ b/railties/configs/databases/postgresql.yml
@@ -6,6 +6,7 @@
# gem install postgres-pr
development:
adapter: postgresql
+ encoding: unicode
database: <%= app_name %>_development
username: <%= app_name %>
password:
@@ -33,12 +34,14 @@ development:
# Do not set this db to the same as development or production.
test:
adapter: postgresql
+ encoding: unicode
database: <%= app_name %>_test
username: <%= app_name %>
password:
production:
adapter: postgresql
+ encoding: unicode
database: <%= app_name %>_production
username: <%= app_name %>
password: