db migrate rails print schema only 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