We can check the status of migrations by running
rake db:migrate:status
rails db:migrate:status
The output will look like this:
Status Migration ID Migration Name
--------------------------------------------------
up 20140711185212 Create documentation pages
up 20140724111844 Create nifty attachments table
up 20140724114255 Create documentation screenshots
up 20160213170731 Create owners
up 20160218214551 Create users
up 20160221162159 ********** NO FILE **********
up 20160222231219 ********** NO FILE **********
Under the status field, up
means the migration has been run and down
means that we need to run the migration.