This week’s post from me to you is about migrations. “What are migrations,” you ask? They’re ways to update the schema of a database without actually touching icky SQL syntax. I actually like touching SQL, but if you don’t then migrations are the way to go! They’re also useful for keeping the changes of the database saved in some kind of format so you remember what you changed.

So here’s some posts about migrations! The first is from rails wiki. This is a pretty sweet source. I used to refer to this a lot when I was learning RoR. It’s the first link on Google, so it must be good!

http://wiki.rubyonrails.org/rails/pages/UnderstandingMigrations

Up up down down left right left right b a start
Just because we use cheats doesn’t mean we’re not smart
So here’s a migrations cheatsheet

http://garrettsnider.backpackit.com/pub/367902

Here’s a link from International Business Machines about migrations.

http://www.ibm.com/developerworks/java/library/j-cb08156.html

Advertisements