Check out example codes for "ef rollback migration". It will help you in understanding the concepts better.

Code Example 1

//EF 6.4 
//PM> Update-Database -TargetMigration:"NameOfSecondToLastMigration"

Learn ReactJs, React Native from akashmittal.com