Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (31 sloc) 606 Bytes
sqlite: &sqlite
adapter: sqlite3
database: db/test.sqlite3
mysql: &mysql
adapter: mysql2
username: root
password:
database: share_your_books_test
postgresql: &postgresql
adapter: postgresql
username: postgres
password:
database: share_your_books_test
min_messages: ERROR
defaults: &defaults
pool: 5
timeout: 5000
host: localhost
<<: *<%= ENV['DB'] || "sqlite" %>
test:
<<: *defaults
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000