2012-01-23 17:05:03 -05:00
|
|
|
# SQLite version 3.x
|
|
|
|
# gem install sqlite3
|
|
|
|
#
|
|
|
|
# Ensure the SQLite 3 gem is defined in your Gemfile
|
|
|
|
# gem 'sqlite3'
|
2018-06-21 14:14:54 -04:00
|
|
|
#
|
|
|
|
default: &default
|
2012-01-23 17:05:03 -05:00
|
|
|
adapter: sqlite3
|
2018-06-21 14:14:54 -04:00
|
|
|
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
2012-01-23 17:05:03 -05:00
|
|
|
timeout: 5000
|
|
|
|
|
2018-06-21 14:14:54 -04:00
|
|
|
development:
|
|
|
|
<<: *default
|
|
|
|
database: db/development.sqlite3
|
|
|
|
|
2012-01-23 17:05:03 -05:00
|
|
|
# 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:
|
2018-06-21 14:14:54 -04:00
|
|
|
<<: *default
|
2012-01-23 17:05:03 -05:00
|
|
|
database: db/test.sqlite3
|
|
|
|
|
|
|
|
production:
|
2018-06-21 14:14:54 -04:00
|
|
|
<<: *default
|
2012-01-23 17:05:03 -05:00
|
|
|
database: db/production.sqlite3
|