Google Groups Home
Help | Sign in
Message from discussion Migrations and SVN branches (comments requested)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Brad Ediger  
View profile
 More options Dec 4 2006, 10:55 am
From: Brad Ediger <b...@bradediger.com>
Date: Mon, 4 Dec 2006 09:55:42 -0600
Local: Mon, Dec 4 2006 10:55 am
Subject: Migrations and SVN branches (comments requested)

I have a tentative fix for the issue of using Rails migrations with  
Subversion branches. I wrote a plugin, announced here:

http://www.bradediger.com/blog/2006/11/subverted_migrations.html

It is available at:

svn://svn.madriska.com/plugins/subverted_migrations

The plugin changes Rails's schema versioning to use version strings  
instead of integers, so you can have a version of "1-12,16-19" for  
example (with the missing versions being in another branch to be  
possibly merged in later). It also patches the db:migrate task to  
handle this versioning, as well as modifying the generate script to  
keep version numbers unique across all branches and trunk.

It is in alpha right now, but it is working well enough for me.

Is this something that would be a useful addition to Rails core? I'd  
appreciate some feedback / criticism.

Thanks,
Brad


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google