Update database config in The Rails Comamnd Line of guide [ci skip]

This commit is contained in:
Yoshiyuki Hirano 2017-08-20 09:06:37 +09:00
parent 0e7a5661dc
commit e42e8319c0
1 changed files with 7 additions and 4 deletions

View File

@ -645,13 +645,16 @@ $ cat config/database.yml
# Configure Using Gemfile
# gem 'pg'
#
development:
default: &default
adapter: postgresql
encoding: unicode
# For details on connection pooling, see Rails configuration guide
# http://guides.rubyonrails.org/configuring.html#database-pooling
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
development:
<<: *default
database: gitapp_development
pool: 5
username: gitapp
password:
...
...
```