aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-06-26 12:16:22 +0100
committerGareth Rees <gareth@mysociety.org>2014-06-26 12:16:22 +0100
commitb7b2a57f89d10735bbbff876a781c55336d1e0bd (patch)
treef7ed3626e8643ea300ea1b02712f6f2a8ca29628
parentbce4b56ef9d0c516695b7bc5ef66f7a92f4415f6 (diff)
parentc1ba8667ef08b321f35372c1317d0941700959a8 (diff)
Merge branch 'update-database-config-example' into rails-3-develop
-rw-r--r--config/database.yml-example10
1 files changed, 6 insertions, 4 deletions
diff --git a/config/database.yml-example b/config/database.yml-example
index e48577f23..126e5a264 100644
--- a/config/database.yml-example
+++ b/config/database.yml-example
@@ -3,7 +3,8 @@
development:
adapter: postgresql
- database: foi_development
+ template: template_utf8
+ database: alaveteli_development
username: <username>
password: <password>
host: localhost
@@ -14,7 +15,8 @@ development:
# Do not set this db to the same as development or production.
test:
adapter: postgresql
- database: foi_test
+ template: template_utf8
+ database: alaveteli_test
username: <username>
password: <password>
host: localhost
@@ -24,9 +26,9 @@ test:
production:
adapter: postgresql
- database: foi_production
+ template: template_utf8
+ database: alaveteli_production
username: <username>
password: <password>
host: localhost
port: 5432
-