diff --git a/config/database.sample.yml b/config/database.sample.yml index 5a5c41ed..7cd62de8 100644 --- a/config/database.sample.yml +++ b/config/database.sample.yml @@ -10,10 +10,12 @@ # Install PostgreSQL and put its /bin directory on your path. development: adapter: postgresql - encoding: utf-8 + encoding: unicode + host: localhost database: catarse_development pool: 5 - username: catarse + username: postgres + password: password # Connect on a TCP socket. Omitted by default since the client uses a @@ -34,17 +36,15 @@ development: # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. -test: &test + +test: adapter: postgresql - encoding: utf-8 + encoding: unicode + host: localhost database: catarse_test pool: 5 - username: catarse + username: postgres + password: password + -production: - adapter: postgresql - encoding: utf-8 - database: catarse_production - pool: 5 - username: catarse