This project is archived and is in readonly mode.

#4947 ✓resolved
Kevin Skoglund

rake db:migrate:status

Reported by Kevin Skoglund | June 23rd, 2010 @ 05:42 PM | in 3.x

New feature:
A rake task to display the current status of migrations by comparing db/migrate/* with schema_migrations.

>rake db:migrate:status

database: simple_cms_development

 Status   Migration ID    Migration Name
--------------------------------------------------
   up     20100123211421  Create users
   up     20100123232138  Create subjects
  down    20100123240347  Create pages
   up     20100123215534  *** NO FILE ***

As a bonus, it makes it easy to get a migration ID (double-click & copy) for running up/down/redo tasks.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Referenced by

Pages