What's new? | Help | Directory | Sign in
Google
easilymigrate
easilymigrate provides extra rake tasks for acive record migrations that make it easier to migrate
  
  
  
  
    
Links:
Blogs:
Join project
Project owners:
  developingchris

Easily Migrate ==============

1. Have you ever gotten into a failure state on a migration and needed to set the db version manually?

A: Why should you login and manually run sql just to do this, now there is a rake task for it.
Use db:version:set
2. Have you ever wanted an easy way to migrate to one version down?
A: db:migrate:down
3. Have you ever wanted to migrate to just one version up?
A: db:migrate:up

4. Wanna do an svn up and a db:migrate all at once

A: upgrate

Installation ============ 1. ./script/plugin install http://easilymigrate.googlecode.com/svn/trunk/easily_migrate

Usage =====

Set Version ============ >rake db:version:set VERSON=<version to set>
Migrate Up ============ >rake db:migrate:up
Migrate Down ============ >rake db:migrate:down

svn up and migrate ============ >rake upgrate

====================================================================================

Brought to you with love, from DevelopingChris, (http://www.developingchris.com)

Copyright (c) 2007 Chris Chandler, released under the MIT license