[from now] 2014/11/18 14:17:22

diff --git a/wercker.yml b/wercker.yml
index 97e0ad9..2785168 100644
--- a/wercker.yml
+++ b/wercker.yml
@@ -3,8 +3,8 @@ box: wercker/rvm
 # See the Rails section on the wercker devcenter:
 # http://devcenter.wercker.com/articles/languages/ruby/settingup-rails4.html
 # You will want to define your database as follows:
-# services:
-#   - wercker/postgresql
+services:
+   - wercker/postgresql
 # See more about services on our devcenter:
 # http://devcenter.wercker.com/articles/services/
 build:
@@ -17,7 +17,7 @@ build:
         - bundle-install

         # A step that prepares the database.yml using the database in services
-        # - rails-database-yml
+        - rails-database-yml

         # A custom script step, name value is used in the UI
         # and the code value contains the command that get executed
@@ -37,4 +37,4 @@ deploy:
         - heroku-deploy
         - script:
             name: Database migration
-            code: heroku run rake db:migrate
+            code: heroku run rake db:migrate --app $APP_NAME