rials db down

Shell
bin/rails db:migrate:down VERSION=YYYYMMDDHHMMSS
Source

Also in Shell: