Skip to content
This repository was archived by the owner on Nov 13, 2020. It is now read-only.

Commit aaabaa0

Browse files
committed
Use pg in production for heroku
1 parent 30f327e commit aaabaa0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: Gemfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ gem 'rails', '4.0.1'
55

66
gem 'rails-api'
77

8-
# Use sqlite3 as the database for Active Record
9-
gem 'sqlite3'
8+
gem 'pg', group: :production
9+
gem 'sqlite3', group: :development
1010

1111

1212
# To use ActiveModel has_secure_password

Diff for: Gemfile.lock

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ GEM
3737
mime-types (1.25.1)
3838
minitest (4.7.5)
3939
multi_json (1.8.2)
40+
pg (0.17.0)
4041
polyglot (0.3.3)
4142
rack (1.5.2)
4243
rack-test (0.6.2)
@@ -82,6 +83,7 @@ PLATFORMS
8283
ruby
8384

8485
DEPENDENCIES
86+
pg
8587
rails (= 4.0.1)
8688
rails-api
8789
sqlite3

0 commit comments

Comments
 (0)