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:
adapter: postgresql
database: adopt_a_hydrant
database: adopt_a_hydrant_development
username: postgres
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:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000
adapter: postgresql
database: adopt_a_hydrant_test
username: postgres
password: