Created
October 17, 2013 13:45
-
-
Save Tasha25/7025173 to your computer and use it in GitHub Desktop.
A reusable gist for database.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
development: | |
adapter: postgresql | |
encoding: unicode | |
database: <%= File.basename(Rails.root) %>_development | |
pool: 5 | |
host: localhost | |
username: <%= ENV['PG_USERNAME'] %> | |
password: | |
test: | |
adapter: postgresql | |
encoding: unicode | |
database: <%= File.basename(Rails.root) %>_test | |
pool: 5 | |
host: localhost | |
username: <%= ENV['PG_USERNAME'] %> | |
password: | |
production: | |
adapter: postgresql | |
encoding: unicode | |
database: <%= File.basename(Rails.root) %>_production | |
pool: 5 | |
username: <%= ENV['PG_USERNAME'] %> | |
password: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment