rake db:migrate not applying changes

I am new to RoR. I have started a new project and have successfully
used migrations to create new tables.

I now want to add a column and have followed the steps outlined in
"Agile with Rails":

1. ruby script/generate migration add_page_title

2. I open the latest file in migration directory and write and save the
following code:

Check schema_info table in your DB. Ensure that version there is less than the
number in your migration's name.

Thanks Maxim

I've decided to just start again. I hadn't done that much and anyway
there was no data in the db.

Is this a common problem that I can expect to come across?

Cheers

Ambrose

Ambrose wrote:

I've decided to just start again. I hadn't done that much and anyway
there was no data in the db.

Is this a common problem that I can expect to come across?

I'm not sure it is YOUR problem or problem at all.

I just have such situations when I have different branches of
application working with the same database and migrations in different
branches having the same name (e.g. you have branch A and branch B
where you develop different functionality and generate migrations -
migrations will have the same number and the second one that will be
run will not be executed).

Thanks Maxim

My application is extremely simple as I am just learning so this was
only my 4th migration.

Anyway - things seem to be working ok with the new application.