This repository was archived by the owner on Mar 19, 2020. It is now read-only.
File tree 4 files changed +17
-13
lines changed
4 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ gem 'omniauth-slack'
37
37
38
38
gem 'bootsnap'
39
39
40
+ gem "pg"
40
41
41
42
group :development , :test do
42
43
# Use sqlite3 as the database for Active Record
@@ -47,7 +48,6 @@ group :development, :test do
47
48
gem 'rspec-rails'
48
49
gem 'factory_bot_rails'
49
50
gem 'rails-controller-testing'
50
-
51
51
gem 'erb2haml'
52
52
end
53
53
@@ -65,7 +65,3 @@ group :development do
65
65
gem 'spring'
66
66
gem 'listen'
67
67
end
68
-
69
- group :production do
70
- gem "pg" , '0.21.0'
71
- end
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ DEPENDENCIES
319
319
kramdown (~> 1.1.0 )
320
320
listen
321
321
omniauth-slack
322
- pg ( = 0.21.0 )
322
+ pg
323
323
rails (= 5.2.0 )
324
324
rails-controller-testing
325
325
rest-client
@@ -336,4 +336,4 @@ DEPENDENCIES
336
336
web-console (~> 2.0 )
337
337
338
338
BUNDLED WITH
339
- 1.16.1
339
+ 1.16.2
Original file line number Diff line number Diff line change @@ -9,10 +9,6 @@ default: &default
9
9
pool : 5
10
10
timeout : 5000
11
11
12
- development :
13
- << : *default
14
- database : db/development.sqlite3
15
-
16
12
# Warning: The database defined as "test" will be erased and
17
13
# re-generated from your development database when you run "rake".
18
14
# Do not set this db to the same as development or production.
@@ -24,4 +20,13 @@ production:
24
20
<< : *default
25
21
adapter : postgresql
26
22
encoding : unicode
27
- pool : 5
23
+ pool : 5
24
+
25
+ development :
26
+ << : *default
27
+ adapter : postgresql
28
+ encoding : unicode
29
+ database : rails_db
30
+ pool : 5
31
+ username : rails
32
+ host : localhost
Original file line number Diff line number Diff line change 10
10
#
11
11
# It's strongly recommended that you check this file into your version control system.
12
12
13
- ActiveRecord ::Schema . define ( version : 20180422104154 ) do
13
+ ActiveRecord ::Schema . define ( version : 2018_04_22_104154 ) do
14
+
15
+ # These are extensions that must be enabled in order to support this database
16
+ enable_extension "plpgsql"
14
17
15
18
create_table "posts" , force : :cascade do |t |
16
19
t . text "body"
You can’t perform that action at this time.
0 commit comments