diaspora/config/database.yml.example
Jonne Hass b706edf76f pull in parallel_testing to speed up rspec
- Initally run rake parallel:create
- After each schema change run rake parallel:prepare
- To run rspec super fast run rake parallel:spec
- Todo fix upstreams summary logger
2011-09-16 22:14:12 +02:00

36 lines
570 B
Text

mysql: &mysql
adapter: mysql2
host: "localhost"
port: 3306
username: "root"
password: ""
# socket: /tmp/mysql.sock
charset: utf8
collation: utf8_bin
postgres: &postgres
adapter: postgresql
host: localhost
port: 5432
username: postgres
password:
encoding: unicode
common: &common
# Choose one of the following
<<: *mysql
#<<: *postgres
development:
<<: *common
database: diaspora_development
production:
<<: *common
database: diaspora_production
test:
<<: *common
database: "diaspora_test<%= ENV['TEST_ENV_NUMBER'] %>"