YAML gotchas part 2: you can't use those references or whatever they're called before they are defined
This commit is contained in:
parent
8739d618ba
commit
1ea2473986
1 changed files with 7 additions and 3 deletions
|
|
@ -16,13 +16,20 @@ postgres: &postgres
|
|||
password:
|
||||
encoding: unicode
|
||||
|
||||
# You can ignore this
|
||||
postgres_travis: &postgres_travis
|
||||
adapter: postgresql
|
||||
username: postgres
|
||||
|
||||
# Comment the the mysql line and uncomment the postgres line
|
||||
# if you want to use postgres
|
||||
common: &common
|
||||
# Choose one of the following
|
||||
<<: *mysql
|
||||
#<<: *postgres
|
||||
|
||||
|
||||
# Normally you don't need to touch anything here
|
||||
development:
|
||||
<<: *common
|
||||
database: diaspora_development
|
||||
|
|
@ -38,6 +45,3 @@ integration1:
|
|||
integration2:
|
||||
<<: *common
|
||||
database: diaspora_integration2
|
||||
postgres_travis: &postgres_travis
|
||||
adapter: postgresql
|
||||
username: postgres
|
||||
|
|
|
|||
Loading…
Reference in a new issue