Use postgres for testing; production database.yml is overridden by Heroku

This commit is contained in:
Erik Michaels-Ober 2011-05-07 20:50:29 -07:00
parent 27ff625023
commit 8dad49a52a
1 changed files with 5 additions and 14 deletions

View File

@ -1,20 +1,11 @@
development: development:
adapter: postgresql adapter: postgresql
database: adopt_a_hydrant database: adopt_a_hydrant_development
username: postgres username: postgres
password: password:
# 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:
adapter: sqlite3 adapter: postgresql
database: db/test.sqlite3 database: adopt_a_hydrant_test
pool: 5 username: postgres
timeout: 5000 password:
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000