Created
October 17, 2013 13:09
-
-
Save quackhouse/7024588 to your computer and use it in GitHub Desktop.
Reusable Database.yml for Rails
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