rails db:migrate force code example
Example 1: ruby on rails db migrate
rails db:migrate
Example 2: rials db down
bin/rails db:migrate:down VERSION=YYYYMMDDHHMMSS
rails db:migrate
bin/rails db:migrate:down VERSION=YYYYMMDDHHMMSS