Skip to content

Commit

Permalink
[Sandeep|Nikhil] Changed database.yml for heroku deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
dsandeephegde committed Feb 4, 2016
1 parent 58ea38e commit e7d38f6
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,20 +84,13 @@ qa:
database: danglay_qa

production:
adapter: postgresql
encoding: unicode
database: <%= ENV['RDS_DB_NAME'] %>
username: <%= ENV['RDS_USERNAME'] %>
password: <%= ENV['RDS_PASSWORD'] %>
host: <%= ENV['RDS_HOSTNAME'] %>
port: <%= ENV['RDS_PORT'] %>
<<: *default
database: danglay_production
username: danglay
password: <%= ENV['DANGLAY_DATABASE_PASSWORD'] %>

staging:
<<: *default
adapter: postgresql
encoding: unicode
database: <%= ENV['RDS_DB_NAME'] %>
username: <%= ENV['RDS_USERNAME'] %>
password: <%= ENV['RDS_PASSWORD'] %>
host: <%= ENV['RDS_HOSTNAME'] %>
port: <%= ENV['RDS_PORT'] %>
database: danglay_staging
username: danglay
password: <%= ENV['DANGLAY_DATABASE_PASSWORD'] %>

0 comments on commit e7d38f6

Please sign in to comment.