diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-17 17:48:32 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-17 17:48:32 -0700 |
commit | 03b18410071f4e8a9a2daff13e02881e5f1a1c12 (patch) | |
tree | ef5e34c57c10418487f72d72085b2599125f04cb /test/dummy/config/database.yml | |
parent | 12deb313e02680bbd1c07ada79a890d6734d1bf3 (diff) | |
download | rails-03b18410071f4e8a9a2daff13e02881e5f1a1c12.tar.gz rails-03b18410071f4e8a9a2daff13e02881e5f1a1c12.tar.bz2 rails-03b18410071f4e8a9a2daff13e02881e5f1a1c12.zip |
Add dummy app for testing
Diffstat (limited to 'test/dummy/config/database.yml')
-rw-r--r-- | test/dummy/config/database.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/dummy/config/database.yml b/test/dummy/config/database.yml new file mode 100644 index 0000000000..0d02f24980 --- /dev/null +++ b/test/dummy/config/database.yml @@ -0,0 +1,25 @@ +# SQLite version 3.x +# gem install sqlite3 +# +# Ensure the SQLite 3 gem is defined in your Gemfile +# gem 'sqlite3' +# +default: &default + adapter: sqlite3 + pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> + timeout: 5000 + +development: + <<: *default + database: db/development.sqlite3 + +# 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: + <<: *default + database: db/test.sqlite3 + +production: + <<: *default + database: db/production.sqlite3 |