Skip to content

Commit e5b844b

Browse files
committed
add database config
1 parent 1b4c9c0 commit e5b844b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

config/database.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
default: &default
2+
adapter: sqlite3
3+
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
4+
timeout: 5000
5+
6+
development:
7+
<<: *default
8+
database: storage/development.sqlite3
9+
10+
test:
11+
<<: *default
12+
database: storage/test.sqlite3
13+
14+
production:
15+
<<: *default
16+
database: storage/production.sqlite3

0 commit comments

Comments
 (0)