rakefile changes to make rake db:migrate work