Commit 96f87b5
Changed files (2)
config
config/database.yml.example
@@ -1,15 +1,12 @@
-development:
+development: &default
adapter: postgresql
- encoding: unicode
- database: urkel-development
+ database: urkel_development
+ encoding: utf8
+ host: localhost
+ min_messages: warning
pool: 5
- username: mo
- password:
+ timeout: 5000
test:
- adapter: postgresql
- encoding: unicode
- database: urkel-test
- pool: 5
- username: mo
- password:
+ <<: *default
+ database: urkel_test
.travis.yml
@@ -5,6 +5,7 @@ before_install:
- sh -e /etc/init.d/xvfb start
before_script:
- cp .env.example .env
+ - cp config/database.yml.example config/database.yml
- psql -c 'create database "urkel_test";' -U postgres