Jim Lindley Notes

Auto Migrations

September 23rd, 2007

Not in edge rails, but a plugin:

Turning the usual course of events on its head, with the Auto Migrations plugin, you directly edit your schema.rb, and let Rails figure out how to get from here to there. You can also dump your changed schema into a migration file to be run as normal. Supports indexing, too!

rake db:auto:migrate

It’s my new best friend.

Sorry, comments are closed for this article.