Use postgres for testing; production database.yml is overridden by Heroku
This commit is contained in:
parent
27ff625023
commit
8dad49a52a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue