Search
Tweets
Blogroll
Powered by Squarespace
« Yahoo! finance real-time quotes gone | Main | Your other languages »
Wednesday
Aug302006

Rails migrations

The new migrations in Rails are much better than writing native DDL yourself. You can’t describe integrity requirements, but RedHill has a plugin for that.During early stages of development, when the db schema still is in flux, I end up doing a lot of

$ rake db:migrate VERSION=0
$ rake db:migrate
to reset the database, which doesn’t feel right, but it gets the trick done.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.