Commit 79fbff2bb7ad99789ec63300c6afe83df23b07ea

Authored by Eduardo Silva
2 parents 8433a52c 43729dc5

Merge pull request #314 from mezuro/fix-postgres-template

Avoid encoding mismatch issue with PgSQL
Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
config/database.yml.postgresql_sample
... ... @@ -11,6 +11,7 @@ development: &development
11 11 pool: 5
12 12 username: prezento
13 13 password: prezento
  14 + template: template0 # avoid encoding mismatch issue by ignoring the default template
14 15  
15 16 # Warning: The database defined as "test" will be erased and
16 17 # re-generated from your development database when you run "rake".
... ... @@ -23,6 +24,7 @@ test: &test
23 24 pool: 5
24 25 username: prezento
25 26 password: prezento
  27 + template: template0
26 28  
27 29 production:
28 30 adapter: postgresql
... ... @@ -31,6 +33,7 @@ production:
31 33 pool: 5
32 34 username: prezento
33 35 password: prezento
  36 + template: template0
34 37  
35 38 cucumber:
36 39 <<: *test
... ...