Skip to content

Commit a4ee7bb

Browse files
committedOct 28, 2014
allow config/database.yml for commit to repo
1 parent 4b99c68 commit a4ee7bb

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed
 

‎.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ db/*.sqlite3
2828
.redcar/
2929
.sass-cache
3030
/config/config.yml
31-
/config/database.yml
31+
# /config/database.yml
3232
/coverage.data
3333
/coverage/
3434
/db/*.javadb/

‎config/database.yml

+25
Original file line numberDiff line numberDiff line change
@@ -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+
#
7+
default: &default
8+
adapter: sqlite3
9+
pool: 5
10+
timeout: 5000
11+
12+
development:
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.
19+
test:
20+
<<: *default
21+
database: db/test.sqlite3
22+
23+
production:
24+
<<: *default
25+
database: db/production.sqlite3

0 commit comments

Comments
 (0)
Please sign in to comment.