Check out example codes for "run a specific migration rails". It will help you in understanding the concepts better.

Code Example 1

rake db:migrate:up VERSION=20090408054532

Learn ReactJs, React Native from akashmittal.com