diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-30 13:29:08 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-30 13:29:08 -0500 |
commit | 0929719a845897cc8567cf972e07a69a71f0fa6f (patch) | |
tree | 2b6f69c1d906abb6e0abf8a0f1d51725bc78087d /config/database.yml | |
parent | 01c1947537e4e23ded0c16812a7cd9d49ad88356 (diff) | |
download | wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.gz wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.bz2 wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.zip |
Migrate to a full rails app
Diffstat (limited to 'config/database.yml')
-rw-r--r-- | config/database.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/config/database.yml b/config/database.yml new file mode 100644 index 0000000..796466b --- /dev/null +++ b/config/database.yml | |||
@@ -0,0 +1,25 @@ | |||
1 | # SQLite. Versions 3.8.0 and up are supported. | ||
2 | # gem install sqlite3 | ||
3 | # | ||
4 | # Ensure the SQLite 3 gem is defined in your Gemfile | ||
5 | # gem "sqlite3" | ||
6 | # | ||
7 | default: &default | ||
8 | adapter: sqlite3 | ||
9 | pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> | ||
10 | timeout: 5000 | ||
11 | |||
12 | development: | ||
13 | <<: *default | ||
14 | database: storage/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. | ||
19 | test: | ||
20 | <<: *default | ||
21 | database: storage/test.sqlite3 | ||
22 | |||
23 | production: | ||
24 | <<: *default | ||
25 | database: storage/production.sqlite3 | ||