more modular database.yml.default

This commit is contained in:
Devin Howard 2015-12-24 16:36:58 +08:00
parent 844a52fc52
commit 21aba2fe5e

View file

@ -1,10 +1,21 @@
development:
default: &default
min_messages: WARNING
adapter: postgresql
host: 127.0.0.1
port: 5432
encoding: unicode
database: metamap002_development
pool: 5
username: postgres
password: "3112"
password: "3112"
development:
<<: *default
database: metamap002_development
test:
<<: *default
database: metamap002_test
production:
<<: *default
database: metamap002_production