Commit 04e9022e5a56c1d4948a307c055dd74215174ccf
1 parent
55e72f4c
Exists in
master
and in
4 other branches
sqlite config example
Showing
1 changed file
with
25 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -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 | +development: | |
| 7 | + adapter: sqlite3 | |
| 8 | + database: db/development.sqlite3 | |
| 9 | + pool: 5 | |
| 10 | + timeout: 5000 | |
| 11 | + | |
| 12 | +# Warning: The database defined as "test" will be erased and | |
| 13 | +# re-generated from your development database when you run "rake". | |
| 14 | +# Do not set this db to the same as development or production. | |
| 15 | +test: | |
| 16 | + adapter: sqlite3 | |
| 17 | + database: db/test.sqlite3 | |
| 18 | + pool: 5 | |
| 19 | + timeout: 5000 | |
| 20 | + | |
| 21 | +production: | |
| 22 | + adapter: sqlite3 | |
| 23 | + database: db/production.sqlite3 | |
| 24 | + pool: 5 | |
| 25 | + timeout: 5000 | ... | ... |