debshots/config/database.yml

39 lines
873 B
YAML

# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
development:
adapter: postgresql
database: debshots_dev
username: debshots_dev
password: GonwannEn0
host: localhost
pool: 5
timeout: 5000
# 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: postgresql
database: debshots_test
username: debshots_test
password: GonwannEn0
host: localhost
pool: 5
timeout: 5000
# production:
# adapter: postgresql
# database: debshots
# # username: debshots
# # password: GonwannEn0
# # host: localhost
# pool: 10
# timeout: 5000
production:
url: <%= ENV['DATABASE_URL'] %>
adapter: postgresql
pool: 10
timeout: 5000