rails db:migrate rails db:seed code example Example: rials db down bin/rails db:migrate:down VERSION=YYYYMMDDHHMMSS