Rails Migrations in Git Branches
For those of you that don't -stalk- follow my other streams:
h4. "Migration Buddy":http://github.com/technoweenie/rails_migration_buddy/tree/master
Or, "the inevitable renumbering and conflict-resolution of miggy tardust"
This is a tool to help merge rails branches with conflicting migrations. The basic idea goes like this:
- First you migrate down to the migration you were at when you branched.
- Renumber any new migrations you created that conflict with any new migrations in the target branch.
- Commit the renames.
- Merge to the target branch (usually 'master').
- Migrate back up.
Wow, what a pain, right? (Apologies to "Saul Williams":http://niggytardust.com/, "you rock":http://flickr.com/photos/technoweenie/2358883164/).
I keep threatening, but I may have to replace this blog with a combination "twitter":http://twitter.com/technoweenie / "tumblr":http://technoweenie.tumblr.com / "github":http://github.com/technoweenie stream.
related
- 2010 Aug 03 Protocol Buffers with Riak for Node.js
- 2010 Jul 13 In-Process Node.js Queues
- 2010 Jul 07 Geek Talk Interview
- 2010 Jun 28 Tee and Child Processes
- 2010 Jun 23 You can let go now
- 2010 May 17 Railsconf: Building APIs
- 2010 May 10 Nori: Node.js Riak wrapper
- 2010 May 10 No, I did not create a mobile phone framework too
- 2010 May 04 Escaping your test suite with your life
- 2010 Apr 05 Will the iPad kill comic books?

