Managing migration version numbers in Rails among multiple developers using the same database is a pain in the ass. You know the drill, you svn up, create a migration, try to run db:migrate but low and behold, the db version is already 10 versions above your migration's.
This plugin offers a simple solution: create and manage a "history" table that records which migrations have and have not been run and modify rake db:migrate to behave accordingly.
For documentation, installation and usage instructions, please see the migration_izzle github page (scroll down).
3 comments:
Very useful. Thanks.
A branch has been made for a version of this plugin that works with Rails 1.2.x It resides at http://stochasticbytes.com/svn/r_migrations/branches/1.2.x
The url for the version that works with Rails 2.0.x is http://stochasticbytes.com/svn/r_migrations/trunk
All my projects have been moved to github. Also, this project has been renamed migration_izzle. The github page is here. You can find documentation, installation and usage instructions there.
Post a Comment