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

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

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