diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 11:49:49 -0500 | 
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 11:49:49 -0500 | 
| commit | 56f5841d4b9c12296cdfcaeff174b2627d59afc8 (patch) | |
| tree | 4f7da4ebbe5ee15a1594b26466ed78e2cf10de35 /config/database.yml | |
| parent | c1b0443ba2aebdbd39291ddab0c189f3f4831320 (diff) | |
| download | pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.gz pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.bz2 pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.zip  | |
Migrate to 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 | ||
