diff options
author | Sam Stephenson <sam@37signals.com> | 2018-02-08 11:01:46 -0600 |
---|---|---|
committer | Sam Stephenson <sam@37signals.com> | 2018-02-08 11:01:46 -0600 |
commit | 38e1f12d79ec3313e42643e52f2d10cb5fbd5d5d (patch) | |
tree | e62eb8fa577c1c27820bcf8fef5b07b0c1a6085d /test/dummy/config/database.yml | |
parent | 68d350ddacedf604717f0d1074d7624fa57757c2 (diff) | |
download | rails-38e1f12d79ec3313e42643e52f2d10cb5fbd5d5d.tar.gz rails-38e1f12d79ec3313e42643e52f2d10cb5fbd5d5d.tar.bz2 rails-38e1f12d79ec3313e42643e52f2d10cb5fbd5d5d.zip |
Add dummy app
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 |