aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-06-26 12:04:36 +0100
committerGareth Rees <gareth@mysociety.org>2014-06-26 12:04:36 +0100
commitc1ba8667ef08b321f35372c1317d0941700959a8 (patch)
treef7ed3626e8643ea300ea1b02712f6f2a8ca29628
parentba10d2ee3c2871d6e7e05be621dd505ae52c123b (diff)
Add template to example database config
Recommended setup includes creating a template (d0a8e9b) so specify that in the database configuration example too.
-rw-r--r--config/database.yml-example3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/database.yml-example b/config/database.yml-example
index 6d06110b0..126e5a264 100644
--- a/config/database.yml-example
+++ b/config/database.yml-example
@@ -3,6 +3,7 @@
development:
adapter: postgresql
+ template: template_utf8
database: alaveteli_development
username: <username>
password: <password>
@@ -14,6 +15,7 @@ development:
# Do not set this db to the same as development or production.
test:
adapter: postgresql
+ template: template_utf8
database: alaveteli_test
username: <username>
password: <password>
@@ -24,6 +26,7 @@ test:
production:
adapter: postgresql
+ template: template_utf8
database: alaveteli_production
username: <username>
password: <password>