Commit 92b443fb076c09f6a8bedcca9947b4c7e89c3517
1 parent
293d91ac
Exists in
master
and in
2 other branches
Create database example file
Showing
1 changed file
with
19 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,19 @@ |
| 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 | |
| 0 | 20 | \ No newline at end of file | ... | ... |