Skip to content

Commit 7bf7e74

Browse files
committed
Restored the DEV database option to config/database.yml
1 parent b2c2260 commit 7bf7e74

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

config/database.yml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,16 @@
1-
development:
1+
default: &default
22
adapter: postgresql
3-
database: coderwall_development
43
encoding: unicode
54
host: localhost
5+
password:
66
pool: 5
7-
port: 5432
7+
port: <%= ENV['DEV_POSTGRES_PORT'] || 5432 %>
88
username: vagrant
99

10+
development:
11+
<<: *default
12+
database: coderwall_development
13+
1014
test:
11-
adapter: postgresql
15+
<<: *default
1216
database: coderwall_test
13-
encoding: unicode
14-
host: localhost
15-
pool: 5
16-
port: 5432
17-
username: vagrant
18-
19-
production:
20-
adapter: postgresql
21-
database: coderwall_production
22-
encoding: unicode
23-
host: localhost
24-
pool: 5
25-
port: 5432
26-
username: vagrant

0 commit comments

Comments
 (0)