migration for beginner

Here are the oficial guide about migrations:
http://guides.rails.info/migrations.html

All you need to know.