about summary refs log tree commit diff stats
path: root/config/database.yml
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-06-24 14:20:22 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-06-24 14:20:22 -0400
commit5581530930129d7854ed5d99d058939ad9c790c2 (patch)
tree157515f64b34a86e0f6d33dc641e06a7ecc2982c /config/database.yml
downloadthoughts-5581530930129d7854ed5d99d058939ad9c790c2.tar.gz
thoughts-5581530930129d7854ed5d99d058939ad9c790c2.tar.bz2
thoughts-5581530930129d7854ed5d99d058939ad9c790c2.zip
Initial commit
Diffstat (limited to 'config/database.yml')
-rw-r--r--config/database.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/config/database.yml b/config/database.yml new file mode 100644 index 0000000..0d02f24 --- /dev/null +++ b/config/database.yml
@@ -0,0 +1,25 @@
1# SQLite version 3.x
2# gem install sqlite3
3#
4# Ensure the SQLite 3 gem is defined in your Gemfile
5# gem 'sqlite3'
6#
7default: &default
8 adapter: sqlite3
9 pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
10 timeout: 5000
11
12development:
13 <<: *default
14 database: db/development.sqlite3
15
16# Warning: The database defined as "test" will be erased and
17# re-generated from your development database when you run "rake".
18# Do not set this db to the same as development or production.
19test:
20 <<: *default
21 database: db/test.sqlite3
22
23production:
24 <<: *default
25 database: db/production.sqlite3