Fixed some rake db:migrate issues