Andy Jeffries wrote:
>>> Did you create new migrations or edit existing ones?
>>
>> I edited migrations on my local machine and checked in them.. :) Just
>> now i realised that this could be the problem of me.
> 
> It is indeed :-)

Resolved it. Thanks to all of you with a big smile .. :) :)

> 
>> Ok tell me one thing, if i edit a already migration file, and run rake
>> db:migrate then would that column be get affected.. ?
> 
> Nope.  The schema_migrations table in your database holds a list of
> ids that have already been applied, so editing existing migrations
> that have already been applied will not apply them again.
> 
> You need to create a new migration and put all your changes in there.
> 
> Cheers,
> 
> 
> Andy

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to