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