Removed database.yml file from repo
Moved the migrations to a separate before_script section and defined a rails env for the tasks.