added automatic rake db:migrate to compilation step