ruby on rails - how to use rake db:migrate -


i want roll 1 version back, don't know current version, there command check it?

first, it's worth taking time read rails guide regarding migrations. regarding specific question:

... roll 1 version:

rake db:rollback step=1 

... see current version:

rake db:version 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -