How to check Rails migration statuses
You can check the status of your migrations in Rails by running rails db:migrate:status
This command returns your database name, as well as a list of all your migrations, with their name and status
database: my-database-dev
Status | Migration ID | Migration Name
--------------------------------------
up | 201803131234 | Create users
up | 201803201234 | Create blogs
down | 201804031234 | Create posts
Tweet