ruby on rails - Rake db:migrate - how do I know if there is an unrun migration -
i working on existing rails application, making changes , updating it.
how check if there unrun rake db:migrate in it? there direct command?
running this:
rake db:migrate:status
would give this:
20130415141113 rename coupon discount coupon 20130416144722 create ratings down 20130419102623 add published product down 20130419124429 add attachment photo users
anything 'down' has not been migrated.
Comments
Post a Comment