We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2c2260 commit 7bf7e74Copy full SHA for 7bf7e74
config/database.yml
@@ -1,26 +1,16 @@
1
-development:
+default: &default
2
adapter: postgresql
3
- database: coderwall_development
4
encoding: unicode
5
host: localhost
+ password:
6
pool: 5
7
- port: 5432
+ port: <%= ENV['DEV_POSTGRES_PORT'] || 5432 %>
8
username: vagrant
9
10
+development:
11
+ <<: *default
12
+ database: coderwall_development
13
+
14
test:
- adapter: postgresql
15
16
database: coderwall_test
- encoding: unicode
- host: localhost
- pool: 5
17
- username: vagrant
18
-
19
-production:
20
21
- database: coderwall_production
22
23
24
25
26
0 commit comments