Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
I am working on an existing rails application, making changes and updating it.
How do I check if there are unrun rake db:migrate in it? Is there a direct command?
Running this:
rake db:migrate:status
Would give you this:
up 20130415141113 Rename coupon to discount coupon up 20130416144722 Create ratings down 20130419102623 Add published to product down 20130419124429 Add attachment photo to users
Anything that is 'down' has NOT been migrated.
Add a comment
Will give you that information
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.