Run a migration on a specified environment





1
Date Submitted Fri. Jun. 16th, 2006 9:01 AM
Revision 1 of 1
Beginner cyu
Tags migration | rails | rake | Ruby
Comments 0 comments
By default, migrations will run on the development environment. Here's how you would specify another environment.

rake migrate RAILS_ENV="production"
 

Calvin Yu

blog.codeeg.com

Comments

There are currently no comments for this snippet.

Voting