allpro/config/database.travis.yml

32 lines
498 B
YAML
Raw Permalink Normal View History

2013-08-10 00:11:23 -04:00
sqlite: &sqlite
adapter: sqlite3
database: db/<%= Rails.env %>.sqlite3
mysql: &mysql
adapter: mysql2
username: root
password:
database: allpro_<%= Rails.env %>
postgresql: &postgresql
adapter: postgresql
username: postgres
password:
database: allpro_<%= Rails.env %>
min_messages: ERROR
defaults: &defaults
pool: 5
timeout: 5000
host: localhost
<<: *<%= ENV['DB'] || "postgresql" %>
development:
<<: *defaults
test:
<<: *defaults
production:
<<: *defaults