uc9nna
Last Updated: February 25, 2016
·
1.762K
· tejasbubane
Final prof pic low

Run a single Rails migration file

Many times the migrations get screwed up when other noobs work with your rails project. Ideally they should be fixed and maintained, but you have a deadline and you gotta just run one or two migrations and get work done and then later fix the migration sequencially. The following line will run a single migration:

rake db:migrate:up VERSION=<version_number>
Say Thanks
Respond