We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54c746b commit 24fc608Copy full SHA for 24fc608
Gemfile
@@ -44,7 +44,7 @@ group :development do
44
end
45
46
group :production do
47
- gem 'pg'
+ gem 'pg', '~> 0.18.4'
48
49
50
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
config/database.yml
@@ -21,5 +21,8 @@ test:
21
database: db/test.sqlite3
22
23
production:
24
- <<: *default
25
- database: db/production.sqlite3
+ adapter: postgresql
+ pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
26
+ timeout: 5000
27
+ database: pizzas_production
28
+ username: postgres
0 commit comments