Table Migration

Hi,

How do I migrate my table again and again after some changes.If I give
simply command “rake db:migrate” it doesn’t take the changes I have done
in
table
What is the right way to do that??

Rekha

On 13 July 2013 22:26, Rekha B. [email protected] wrote:

Hi,

How do I migrate my table again and again after some changes.If I give
simply command “rake db:migrate” it doesn’t take the changes I have done in
table

What do you mean that it does not take the changes you have done in
the table? You should be making the changes using a migration.

Have a look at the Rails Guides (http://guides.rubyonrails.org/) where
you will find one on Migrations.

In fact I suggest that you work right through a good rails tutorial
such as railstutorial.org, which is free to use online. That will
show you the basics of rails.

Colin