Topic: what does rake db:migrate will actually do?

Hi ,

This is my First question in this forum , so please excuse if this isn't the right place to post .

I am new to Ruby On Rails , i am using Rails 3.2.7 version .

On Rails Tutorials its mentioned as "On the command line, if you run “rake db:migrate”, your database will be upgraded to the latest version. "

Could anybody please clarify me these questions ??

What does it mean by "your database will be upgraded to the latest version" ( I am using MySQL 5 , and i have created 3 databases in it for rails Development , test and Production )

With What data will my Database will be upgraded with ??

I manually created these 3 Databases , and configured them inside the database.yml file . Is running rake db:migrate is mandatory ??

Last edited by krn1231 (2012-09-17 06:24:15)

Re: what does rake db:migrate will actually do?

See more details at Rails Guides and you'll find a lot of useful information, not only on migrations.