Agile Development. more fun less stress.

Rails: Migrate databases in production environment

Posted: May 12th, 2009 | Author: vid | Filed under: Development | Tags: , | No Comments »

How to migrate databases in rails.

Simply run db:migrate and specify your environment with RAILS_ENV

rake db:migrate RAILS_ENV=production


Leave a Reply