allpro/config/database.travis.yml

31 lines
498 B
YAML

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