Plugins - easily migrate

StarAdd to favorites

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=

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

developingchris

http://easilymigrate.googlecode.com/

http://easilymigrate.googlecode.com/svn/trunk/easily_migrate

Rails' (MIT)

  • Currently 3.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Model

Tags

Comments

Add a comment
developingchris 19 Nov 2007

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

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?