Update Migration for rails 4

Migrations changed for Rails 4. This is the update for that.