Skip to content

Commit

Permalink
Add staging environment to database.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vishaltelangre committed Nov 30, 2017
1 parent bcef6c4 commit 294ead6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,19 @@ development:
host: localhost
pool: 5

staging:
adapter: postgresql
database: <%= "#{repository_name}_staging"[0...63] %>
pool: 5
timeout: 5000

production:
adapter: postgresql
database: <%= "#{repository_name}_production"[0...63] %>
pool: 5
timeout: 5000

test:
adapter: postgresql
database: <%= "#{repository_name}_test"[0...63] %>
host: localhost
pool: 5

0 comments on commit 294ead6

Please sign in to comment.