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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -